summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2012-02-28 12:53:29 +0100
committerStefan Metzmacher <metze@samba.org>2012-03-06 23:53:06 +0100
commit2aa81dc81706a37e28b0a09b2ecf7ea1eb08461a (patch)
treed0e2fe44ec45f7d53d3f8623d0c37b2c38389899
parentdc44cbfb1aed3dd375ccdad2ba701fc817c4d0b0 (diff)
downloadsamba-2aa81dc81706a37e28b0a09b2ecf7ea1eb08461a.tar.gz
samba-2aa81dc81706a37e28b0a09b2ecf7ea1eb08461a.tar.bz2
samba-2aa81dc81706a37e28b0a09b2ecf7ea1eb08461a.zip
s4:torture: avoid reporting error on failure of smb2.setinfo test
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source4/torture/smb2/setinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/smb2/setinfo.c b/source4/torture/smb2/setinfo.c
index fb012eeb2f..719e8f0b01 100644
--- a/source4/torture/smb2/setinfo.c
+++ b/source4/torture/smb2/setinfo.c
@@ -73,7 +73,7 @@ bool torture_smb2_setinfo(struct torture_context *tctx)
smb2_util_close(tree, handle); \
status = smb2_create_complex_file(tree, fname, &handle); \
if (!NT_STATUS_IS_OK(status)) { \
- torture_result(tctx, TORTURE_ERROR, "(%s) ERROR: open of %s failed (%s)\n", \
+ torture_result(tctx, TORTURE_FAIL, "(%s) ERROR: open of %s failed (%s)\n", \
__location__, fname, nt_errstr(status)); \
ret = false; \
goto done; \