summaryrefslogtreecommitdiff
path: root/source4/lib/torture/torture.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/torture/torture.h')
-rw-r--r--source4/lib/torture/torture.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/torture/torture.h b/source4/lib/torture/torture.h
index f023f319ff..0f966a52d1 100644
--- a/source4/lib/torture/torture.h
+++ b/source4/lib/torture/torture.h
@@ -267,7 +267,7 @@ void torture_result(struct torture_context *test,
char *__got; \
const char *__expected = (expected); \
size_t __size; \
- __got = file_load(filename, &__size, torture_ctx); \
+ __got = file_load(filename, &__size, 0, torture_ctx); \
if (__got == NULL) { \
torture_result(torture_ctx, TORTURE_FAIL, \
__location__": unable to open %s: %s\n", \
@@ -288,7 +288,7 @@ void torture_result(struct torture_context *test,
#define torture_assert_file_contains(torture_ctx,filename,expected,cmt)\
do { const char *__got, *__expected = (expected); \
size_t __size; \
- __got = file_load(filename, *size, torture_ctx); \
+ __got = file_load(filename, *size, 0, torture_ctx); \
if (strcmp_safe(__got, __expected) != 0) { \
torture_result(torture_ctx, TORTURE_FAIL, \
__location__": %s contained:\n%sExpected: %s%s\n", \