]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3/script/tests: Fix 'Unrecognized option(s) passed to mkpath()' error
authorNoel Power <noel.power@suse.com>
Fri, 27 Nov 2020 12:01:49 +0000 (12:01 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 1 Dec 2020 19:06:44 +0000 (19:06 +0000)
'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>
source3/script/tests/test_smbclient_tarmode.pl

index 877eec45cc889eeaee40e5ed94a3e850964a2fb4..d638ae5ac4bf7127e0ac689d8a761999a461c108 100755 (executable)
@@ -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( )>