1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-25 17:57:42 +03:00

s3/script/tests: Fix 'Unrecognized option(s) passed to mkpath()' error

'keep_root' is an unrecognised option for make_path/mkpath

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14581

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Noel Power 2020-11-27 12:01:49 +00:00 committed by Jeremy Allison
parent b09f0bb4d4
commit 4f5a7f11b7

View File

@ -918,7 +918,7 @@ sub reset_remote {
# remove_tree($LOCALPATH . '/'. $DIR);
# make_path($LOCALPATH . '/'. $DIR);
remove_tree($LOCALPATH, {keep_root => 1});
make_path($LOCALPATH, {keep_root => 1});
make_path($LOCALPATH);
}
=head3 C<reset_tmp( )>