From: Gregor Beck Date: Tue, 28 Feb 2012 11:46:41 +0000 (+0100) Subject: s4:torture: avoid reporting error on failure of smb2.acls tests X-Git-Tag: tdb-1.2.10~344 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b80e95633ea4046108fd3941500d317028eb0e39;p=thirdparty%2Fsamba.git s4:torture: avoid reporting error on failure of smb2.acls tests Signed-off-by: Stefan Metzmacher --- diff --git a/source4/torture/smb2/acls.c b/source4/torture/smb2/acls.c index fa6c002da7b..37052c66c12 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)