summaryrefslogtreecommitdiff
path: root/lib/torture
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-06-02 12:18:59 +0200
committerGünther Deschner <gd@samba.org>2009-06-02 13:12:09 +0200
commit68bb2d2e8027294a9958cf04aeb072a940642847 (patch)
tree8877e6f8a18c454fc39992bf4822b3b3c93476e8 /lib/torture
parent8684911bdae2dfd1d8bf2e9057d5acb7b856ef3f (diff)
downloadsamba-68bb2d2e8027294a9958cf04aeb072a940642847.tar.gz
samba-68bb2d2e8027294a9958cf04aeb072a940642847.tar.bz2
samba-68bb2d2e8027294a9958cf04aeb072a940642847.zip
torture: minor fixes to torture macro text output.
Guenther
Diffstat (limited to 'lib/torture')
-rw-r--r--lib/torture/torture.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/torture/torture.h b/lib/torture/torture.h
index 91448c6422..bc6365351e 100644
--- a/lib/torture/torture.h
+++ b/lib/torture/torture.h
@@ -279,7 +279,7 @@ void torture_result(struct torture_context *test,
do { const void *__got = (got), *__expected = (expected); \
if (memcmp(__got, __expected, len) != 0) { \
torture_result(torture_ctx, TORTURE_FAIL, \
- __location__": "#got" of len %d did not match"#expected": %s", (int)len, cmt); \
+ __location__": "#got" of len %d did not match "#expected": %s", (int)len, cmt); \
return false; \
} \
} while(0)
@@ -294,7 +294,7 @@ void torture_result(struct torture_context *test,
} \
if (memcmp(__got.data, __expected.data, __got.length) != 0) { \
torture_result(torture_ctx, TORTURE_FAIL, \
- __location__": "#got" of len %d did not match"#expected": %s", (int)__got.length, cmt); \
+ __location__": "#got" of len %d did not match "#expected": %s", (int)__got.length, cmt); \
return false; \
} \
} while(0)