s4:torture: avoid reporting error on failure of smb2.setinfo test
[ira/wip.git] / 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; \