From: Jeremy Allison Date: Thu, 2 Dec 2021 02:03:57 +0000 (-0800) Subject: s4: torture: Use smbcli_unlink_wcard() in base.casetable test. X-Git-Tag: tdb-1.4.6~411 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=367dc3cb59793babc393e842c610b45b42016454;p=thirdparty%2Fsamba.git s4: torture: Use smbcli_unlink_wcard() in base.casetable test. Avoid smbcli_unlink() calls with a wildcard path. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source4/torture/basic/utable.c b/source4/torture/basic/utable.c index da2fe2e0b37..a3ddf1a7621 100644 --- a/source4/torture/basic/utable.c +++ b/source4/torture/basic/utable.c @@ -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;