From 2aa81dc81706a37e28b0a09b2ecf7ea1eb08461a Mon Sep 17 00:00:00 2001 From: Gregor Beck Date: Tue, 28 Feb 2012 12:53:29 +0100 Subject: s4:torture: avoid reporting error on failure of smb2.setinfo test Signed-off-by: Stefan Metzmacher --- source4/torture/smb2/setinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/smb2') 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; \ -- cgit