s4: torture: Use smbcli_unlink_wcard() in base.casetable test.
authorJeremy Allison <jra@samba.org>
Thu, 2 Dec 2021 02:03:57 +0000 (18:03 -0800)
committerRalph Boehme <slow@samba.org>
Thu, 9 Dec 2021 18:06:35 +0000 (18:06 +0000)
Avoid smbcli_unlink() calls with a wildcard path.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source4/torture/basic/utable.c

index da2fe2e0b377a367e18c008e1f3b7bd16ac07597..a3ddf1a7621bed8b8870400954176f96d2ee35fe 100644 (file)
@@ -195,7 +195,7 @@ bool torture_casetable(struct torture_context *tctx,
                smbcli_close(cli->tree, fnum);
        }
 
-       smbcli_unlink(cli->tree, "\\utable\\*");
+       smbcli_unlink_wcard(cli->tree, "\\utable\\*");
        smbcli_rmdir(cli->tree, "\\utable");
 
        return true;