SMB2-CONNECT: unlink the test file at startup
[kai/samba-autobuild/.git] / source4 / torture / smb2 / connect.c
index bd1abce82788b7311f242103234bbf175bf2fba7..fd32b52111b3f6c44f3343989a55fa4225a78cbd 100644 (file)
@@ -200,6 +200,8 @@ bool torture_smb2_connect(struct torture_context *torture)
                return false;
        }
 
+       smb2_util_unlink(tree, "test9.dat");
+
        h1 = torture_smb2_createfile(tree, "test9.dat");
        h2 = torture_smb2_createfile(tree, "test9.dat");
        status = torture_smb2_write(torture, tree, h1);