diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-07-08 10:09:54 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-07-15 10:57:32 +0200 |
commit | af3444e6117de7d24bc2e3b61436f2804bfa1e4e (patch) | |
tree | cfa47250c79fd2d4eaf3923e953e8a484a604fdc /source4/torture/smb2 | |
parent | 76705d10c626a66cc77f3ec294f4f98bef95aeb5 (diff) | |
download | samba-af3444e6117de7d24bc2e3b61436f2804bfa1e4e.tar.gz samba-af3444e6117de7d24bc2e3b61436f2804bfa1e4e.tar.bz2 samba-af3444e6117de7d24bc2e3b61436f2804bfa1e4e.zip |
SMB2-CONNECT: unlink the test file at startup
This is needed to get reproducable results...
metze
Diffstat (limited to 'source4/torture/smb2')
-rw-r--r-- | source4/torture/smb2/connect.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/smb2/connect.c b/source4/torture/smb2/connect.c index bd1abce827..fd32b52111 100644 --- 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); |