summaryrefslogtreecommitdiff
path: root/selftest/target/Samba3.pm
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-06-26 23:18:30 +0200
committerStefan Metzmacher <metze@samba.org>2017-06-27 16:57:42 +0200
commit4f5cfe2713294462b9dc68afbec2ea2c72230885 (patch)
treed37300dac120a694c0797b9686ee122962bfffb2 /selftest/target/Samba3.pm
parenteedebe2ef1b6ff92975289b6076f236650744621 (diff)
downloadsamba-4f5cfe2713294462b9dc68afbec2ea2c72230885.tar.gz
s3:tests: Do not delete the contets of LOCAL_PATH with tarmode test
The test_smbclient_tarmode.pl test operates on $LOCAL_PATH by default and removes everything. So it deletes all precreated files and directories which the setup_fileserver() function initially set up. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12867 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'selftest/target/Samba3.pm')
-rwxr-xr-xselftest/target/Samba3.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 6854d7c0ecd..ec8625d84d2 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -767,6 +767,9 @@ sub setup_fileserver($$)
my $smbget_sharedir="$share_dir/smbget";
push(@dirs,$smbget_sharedir);
+ my $tarmode_sharedir="$share_dir/tarmode";
+ push(@dirs,$tarmode_sharedir);
+
my $fileserver_options = "
[lowercase]
path = $lower_case_share_dir