diff options
author | Andreas Schneider <asn@samba.org> | 2017-06-26 23:18:30 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2017-06-27 16:57:42 +0200 |
commit | 4f5cfe2713294462b9dc68afbec2ea2c72230885 (patch) | |
tree | d37300dac120a694c0797b9686ee122962bfffb2 /selftest/target/Samba3.pm | |
parent | eedebe2ef1b6ff92975289b6076f236650744621 (diff) | |
download | samba-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-x | selftest/target/Samba3.pm | 3 |
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 |