torture: minor fixes to torture macro text output.
[samba.git] / lib / torture / torture.h
index 91448c64224edcfa63e318d54d43db3e1bf29ab0..bc6365351e3ab15f8568301d430b98d7fa7d4177 100644 (file)
@@ -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)