mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
correct sense of macro variable name in SMB2 durable open test
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
This commit is contained in:
parent
69e511e478
commit
225d701546
@ -35,10 +35,10 @@
|
||||
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user