git.samba.org
/
kai
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SMB2-CONNECT: unlink the test file at startup
[kai/samba-autobuild/.git]
/
source4
/
torture
/
smb2
/
connect.c
diff --git
a/source4/torture/smb2/connect.c
b/source4/torture/smb2/connect.c
index bd1abce82788b7311f242103234bbf175bf2fba7..fd32b52111b3f6c44f3343989a55fa4225a78cbd 100644
(file)
--- a/
source4/torture/smb2/connect.c
+++ b/
source4/torture/smb2/connect.c
@@
-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);