From 99ffa4a98287f125e45690e87b32616f4d4254e4 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Mon, 30 Nov 2020 09:59:58 +0000 Subject: [PATCH] s3/script/tests: Remove make_path (for remote dir) 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 Reviewed-by: Jeremy Allison --- source3/script/tests/test_smbclient_tarmode.pl | 2 -- 1 file changed, 2 deletions(-) diff --git a/source3/script/tests/test_smbclient_tarmode.pl b/source3/script/tests/test_smbclient_tarmode.pl index d638ae5ac4b..4aaee3e8c9c 100755 --- a/source3/script/tests/test_smbclient_tarmode.pl +++ b/source3/script/tests/test_smbclient_tarmode.pl @@ -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 -- 2.47.3