summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2020-12-17 06:38:14 +0100
committerKarolin Seeger <kseeger@samba.org>2021-02-02 09:20:10 +0000
commit3eba14718dd6269fe1657de15a2f47c848b60518 (patch)
treed2d0005a3c0cb459089674b483790c01999c8358 /source3
parentf1c7967b568034da2707ccc4bd1f64358d55eacc (diff)
downloadsamba-3eba14718dd6269fe1657de15a2f47c848b60518.tar.gz
s3:selftest: run test_smbclient_tarmode.pl with a fixed subdirectory name
$PREFIX is the the value from --with-selftest-prefix. The result of the test should not depend on --with-selftest-prefix, the 'long_path' test in particular. If the path is to long smbclient (via libarchive) will only put the full path into a PAX HEADER as 'path' keyword, that's fine in general, modern tools handle it just fine. But Perl's Archive::Tar don't handle it and only seems truncated file names. I have a fix for Archive::Tar, see: https://git.samba.org/?p=metze/samba/wip.git;a=shortlog;h=c75037d0a06a96cdaca3f3b20a6d237e768b075b But finishing that is a task for another day, for now I just want to remove the dependency to --with-selftest-prefix. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14628 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> (cherry picked from commit e0d9b656452ba6277cdc7f0abb2a06d3d284ef3a)
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/selftest/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py
index 6f65bf5ef9d..fe2fee610e5 100755
--- a/source3/selftest/tests.py
+++ b/source3/selftest/tests.py
@@ -518,13 +518,13 @@ for env in ["fileserver"]:
[os.path.join(samba3srcdir, "script/tests/test_smbclient_tarmode.pl"),
'-n', '$SERVER', '-i', '$SERVER_IP', '-s', 'tarmode2',
'-u', '$USERNAME', '-p', '$PASSWORD', '-l', '$LOCAL_PATH/tarmode2',
- '-d', '$PREFIX', '-b', smbclient3,
+ '-d', 'smbclient_tar.NT1', '-b', smbclient3,
'--subunit', '--', configuration, '-mNT1'])
plantestsuite("samba3.blackbox.smbclient_tar.SMB3", env,
[os.path.join(samba3srcdir, "script/tests/test_smbclient_tarmode.pl"),
'-n', '$SERVER', '-i', '$SERVER_IP', '-s', 'tarmode2',
'-u', '$USERNAME', '-p', '$PASSWORD', '-l', '$LOCAL_PATH/tarmode2',
- '-d', '$PREFIX', '-b', smbclient3,
+ '-d', 'smbclient_tar.SMB3', '-b', smbclient3,
'--subunit', '--', configuration, '-mSMB3'])
for env in ["fileserver:local"]: