Ensure STREAMERROR deletes any files in the \\testdir
authorJeremy Allison <jra@samba.org>
Mon, 22 Feb 2010 23:04:10 +0000 (15:04 -0800)
committerJeremy Allison <jra@samba.org>
Mon, 22 Feb 2010 23:04:10 +0000 (15:04 -0800)
before rmdir and mkdir.
Jeremy.

source3/torture/torture.c

index 5ed27f926f5e8e019621a56134a297163844a5cb..1bb6ad0339a9d2e5af96c57c6a06a426061e4caf 100644 (file)
@@ -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);