Subject: | 09_roundtrip failure in Solaris with 2.14 |
Four subtests of 09_roundtrip fail in Solaris [1] with Archive-Tar 2.14, see below [2], all other tests pass.
This is not installing from CPAN, instead I am testing bleadperl, which just updated to 2.14. However, the 2.14 does not seem to be the new culprit here, I tried 2.12 with the system installed Perl (v5.10.1) and the tests fail the exact same way.
The Solaris /usr/bin/tar indeed does not have the 'z' option.
[1] uname -a says:
SunOS paja 5.10 Generic_150401-40 i86pc i386 i86pc
[2]
...
cpan/Archive-Tar/t/08_ptargrep ................................. ok
cpan/Archive-Tar/t/09_roundtrip ................................ # Using IPC::Cmd
# Failed test 'src/long/bar.tar roundtrip on file names'
# at t/09_roundtrip.t line 157.
# Structures begin differing at:
# $got->[3] = 'directory/really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-long-directory-name'
# $expected->[3] = 'directory/really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-really-long-directory-name/'
tar: tape blocksize error
# Failed test 'src/linktest/linktest_with_dir.tar roundtrip on file names'
# at t/09_roundtrip.t line 157.
# Structures begin differing at:
# $got->[0] = 'linktest/orig'
# $expected->[0] = 'linktest/orig/'
tar: z: unknown function modifier
Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}...
# Failed test 'src/long/foo.tgz roundtrip on file names'
# at t/09_roundtrip.t line 157.
# Structures begin differing at:
# $got->[2] = 'directory'
# $expected->[2] = 'directory/'
tar: j: unknown function modifier
Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}...
# Failed test 'src/long/foo.tbz roundtrip on file names'
# at t/09_roundtrip.t line 157.
# Structures begin differing at:
# $got->[2] = 'directory'
# $expected->[2] = 'directory/'
# Looks like you failed 4 tests of 7.
FAILED at test 4
cpan/Archive-Tar/t/90_symlink .................................. skipped