summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-02-22 15:04:10 -0800
committerJeremy Allison <jra@samba.org>2010-02-22 15:04:10 -0800
commit3aee8e73b0c175ece7790427e28ce7c0f4cbaaa5 (patch)
tree76b5265ba0f35f6575aa8e822d8be5840ee7e8ad /source3
parentf1fe808978ac420387a80a6862762ba3dd090af0 (diff)
downloadsamba-3aee8e73b0c175ece7790427e28ce7c0f4cbaaa5.tar.gz
samba-3aee8e73b0c175ece7790427e28ce7c0f4cbaaa5.tar.bz2
samba-3aee8e73b0c175ece7790427e28ce7c0f4cbaaa5.zip
Ensure STREAMERROR deletes any files in the \\testdir
before rmdir and mkdir. Jeremy.
Diffstat (limited to 'source3')
-rw-r--r--source3/torture/torture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 5ed27f926f..1bb6ad0339 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -6442,6 +6442,7 @@ static bool run_streamerror(int dummy)
return false;
}
+ cli_unlink(cli, "\\testdir\\*", aSYSTEM | aHIDDEN);
cli_rmdir(cli, dname);
status = cli_mkdir(cli, dname);