From 68bb2d2e8027294a9958cf04aeb072a940642847 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 2 Jun 2009 12:18:59 +0200 Subject: torture: minor fixes to torture macro text output. Guenther --- lib/torture/torture.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/torture') 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) -- cgit