mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
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. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
568c7d38de
commit
e0d9b65645
@ -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"]:
|
||||
|
Loading…
Reference in New Issue
Block a user