summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2012-02-28 12:46:41 +0100
committerStefan Metzmacher <metze@samba.org>2012-03-06 23:53:06 +0100
commitb80e95633ea4046108fd3941500d317028eb0e39 (patch)
treecfd897d56c57ad05c99ed2cc67205232db72a8ac /source4/torture
parent68b840726bdcb368b1cd8245c4089e5aa33dc386 (diff)
downloadsamba-b80e95633ea4046108fd3941500d317028eb0e39.tar.gz
samba-b80e95633ea4046108fd3941500d317028eb0e39.tar.bz2
samba-b80e95633ea4046108fd3941500d317028eb0e39.zip
s4:torture: avoid reporting error on failure of smb2.acls tests
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/smb2/acls.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/torture/smb2/acls.c b/source4/torture/smb2/acls.c
index fa6c002da7..37052c66c1 100644
--- a/source4/torture/smb2/acls.c
+++ b/source4/torture/smb2/acls.c
@@ -72,11 +72,14 @@
#define CHECK_SECURITY_DESCRIPTOR(_sd1, _sd2) do { \
if (!security_descriptor_equal(_sd1, _sd2)) { \
- torture_warning(tctx, "%s: security descriptors don't match!\n", __location__); \
+ torture_warning(tctx, "security descriptors don't match!\n"); \
torture_warning(tctx, "got:\n"); \
NDR_PRINT_DEBUG(security_descriptor, _sd1); \
torture_warning(tctx, "expected:\n"); \
NDR_PRINT_DEBUG(security_descriptor, _sd2); \
+ torture_result(tctx, TORTURE_FAIL, \
+ "%s: security descriptors don't match!\n", \
+ __location__); \
ret = false; \
} \
} while (0)