Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Jun 24 08:54:23 CEST 2015 on sn-devel-104
ret = false; \
}} while (0)
-#define CHECK_NOT_VAL(v, correct) do { \
- if ((v) == (correct)) { \
+#define CHECK_NOT_VAL(v, incorrect) do { \
+ if ((v) == (incorrect)) { \
torture_result(tctx, TORTURE_FAIL, "(%s): wrong value for %s got 0x%llx - should not be 0x%llx\n", \
- __location__, #v, (unsigned long long)v, (unsigned long long)correct); \
+ __location__, #v, (unsigned long long)v, (unsigned long long)incorrect); \
ret = false; \
}} while (0)