]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: torture: In torture_utable(), use torture_deltree() for setup.
authorJeremy Allison <jra@samba.org>
Thu, 2 Dec 2021 22:13:41 +0000 (14:13 -0800)
committerRalph Boehme <slow@samba.org>
Thu, 9 Dec 2021 18:06:35 +0000 (18:06 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/torture/utable.c

index a912c4cb3b065e5001dc547f61d289fcdc1e4ce5..01f6b2e51e9f78894280a2679cf9bf6a8165d435 100644 (file)
@@ -43,8 +43,8 @@ bool torture_utable(int dummy)
 
        memset(valid, 0, sizeof(valid));
 
+       torture_deltree(cli, "\\utable");
        cli_mkdir(cli, "\\utable");
-       cli_unlink(cli, "\\utable\\*", FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_HIDDEN);
 
        for (c=1; c < 0x10000; c++) {
                size_t size = 0;