]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3/script/tests: Remove make_path (for remote dir)
authorNoel Power <noel.power@suse.com>
Mon, 30 Nov 2020 09:59:58 +0000 (09:59 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 1 Dec 2020 19:06:44 +0000 (19:06 +0000)
LOCALPATH is actually the local path to the share, we should
not need to create the share path (it should already exist)

Note: When we remove the tree located at LOCALPATH we keep the root
      so the share path should always be there

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 d638ae5ac4bf7127e0ac689d8a761999a461c108..4aaee3e8c9c17a393f354ad8b844bbe79d017392 100755 (executable)
@@ -1,5 +1,4 @@
 #!/usr/bin/perl
-
 # Unix SMB/CIFS implementation.
 # Test suite for the tar backup mode of smbclient.
 # Copyright (C) AurĂ©lien Aptel 2013
@@ -918,7 +917,6 @@ sub reset_remote {
     # remove_tree($LOCALPATH . '/'. $DIR);
     # make_path($LOCALPATH . '/'. $DIR);
     remove_tree($LOCALPATH, {keep_root => 1});
-    make_path($LOCALPATH);
 }
 
 =head3 C<reset_tmp( )>