1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s3: torture: In test_mask(), use torture_deltree() for setup.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Jeremy Allison 2021-12-02 14:20:07 -08:00 committed by Ralph Boehme
parent 9398655cfd
commit 6cb9f127e1

View File

@ -355,10 +355,9 @@ static void test_mask(int argc, char *argv[],
int fc_len = strlen(filechars);
TALLOC_CTX *ctx = talloc_tos();
torture_deltree(cli, "\\masktest");
cli_mkdir(cli, "\\masktest");
cli_unlink(cli, "\\masktest\\*", FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_HIDDEN);
if (argc >= 2) {
while (argc >= 2) {
mask = talloc_asprintf(ctx,