]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4: torture: Use smbcli_unlink_wcard() to setup and cleanup in masktest.
authorJeremy Allison <jra@samba.org>
Thu, 2 Dec 2021 02:08:32 +0000 (18:08 -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>
source4/torture/masktest.c

index 5b2457a92e935a6afc16887799e5527e1fb2d573..e311769a43d804935acd663197171d4d199b1508 100644 (file)
@@ -225,7 +225,7 @@ static void test_mask(int argc, char *argv[],
 
        smbcli_mkdir(cli->tree, "\\masktest");
 
-       smbcli_unlink(cli->tree, "\\masktest\\*");
+       smbcli_unlink_wcard(cli->tree, "\\masktest\\*");
 
        if (argc >= 2) {
                while (argc >= 2) {