s3:selftest: run test_smbclient_tarmode.pl with a fixed subdirectory name
authorStefan Metzmacher <metze@samba.org>
Thu, 17 Dec 2020 05:38:14 +0000 (06:38 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 27 Jan 2021 09:56:29 +0000 (09:56 +0000)
commite0d9b656452ba6277cdc7f0abb2a06d3d284ef3a
treeb360f60dbfdc91d721c30546934685eac6f6b960
parent568c7d38debaa5ccd90d6ea33c683de512de7005
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>
source3/selftest/tests.py