s4:torture: avoid reporting error on failure of smb2.setinfo test
authorGregor Beck <gbeck@sernet.de>
Tue, 28 Feb 2012 11:53:29 +0000 (12:53 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 6 Mar 2012 22:53:06 +0000 (23:53 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/torture/smb2/setinfo.c

index fb012eeb2f025f06127f5bfc37811de2139ac2e9..719e8f0b0151b4902aa4893e0f1142072cbfdc4d 100644 (file)
@@ -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; \