summaryrefslogtreecommitdiff
path: root/source4/lib/util/tests
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/util/tests')
-rw-r--r--source4/lib/util/tests/strlist.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/util/tests/strlist.c b/source4/lib/util/tests/strlist.c
index 689e03e54a..41accd4bd2 100644
--- a/source4/lib/util/tests/strlist.c
+++ b/source4/lib/util/tests/strlist.c
@@ -37,7 +37,7 @@ static bool test_lists_shell(struct torture_context *tctx,
{
const char *data = test_data;
const char **ret1, **ret2, *tmp;
- BOOL match = True;
+ bool match = true;
TALLOC_CTX *mem_ctx = tctx;
ret1 = str_list_make_shell(mem_ctx, data, " ");
@@ -45,18 +45,18 @@ static bool test_lists_shell(struct torture_context *tctx,
ret2 = str_list_make_shell(mem_ctx, tmp, " ");
if ((ret1 == NULL || ret2 == NULL) && ret2 != ret1) {
- match = False;
+ match = false;
} else {
int j;
for (j = 0; ret1[j] && ret2[j]; j++) {
if (strcmp(ret1[j], ret2[j]) != 0) {
- match = False;
+ match = false;
break;
}
}
if (ret1[j] || ret2[j])
- match = False;
+ match = false;
}
torture_assert(tctx, match, talloc_asprintf(tctx,