git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c697ad1
)
s4: torture: Use smbcli_unlink_wcard() in base.casetable test.
author
Jeremy Allison
<jra@samba.org>
Thu, 2 Dec 2021 02:03:57 +0000
(18:03 -0800)
committer
Ralph 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
patch
|
blob
|
history
diff --git
a/source4/torture/basic/utable.c
b/source4/torture/basic/utable.c
index da2fe2e0b377a367e18c008e1f3b7bd16ac07597..a3ddf1a7621bed8b8870400954176f96d2ee35fe 100644
(file)
--- 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;