Subject: | Test fails on Solaris and Linux |
I have perl-5.8.6 on Solaris 8 and RedHat Linux 7.2 (built with
gcc/3.4.3, ihtreads, shared libperl.so). The latest 0.06 release
of File::Spec::Link does not pass the test t/linked.t (see below).
I have also the most recent Cwd/File::Spec from Pathtools.
Let me know if you need more information.
-Marek
$ perl -w -Mblib t/linked.t
1..18
ok 1 - use File::Spec::Link;
ok 2 - linked - to file
ok 3 - linked - to link
ok 4 - resolve - file
ok 5 - resolve - loop
ok 6 - linked - directory
ok 7 - resolve - directory
Use of uninitialized value in substitution (s///)
at /opt/perl_5.8.6/lib/i686-linux-thread-multi/File/Spec/Unix.pm line
52.
Use of uninitialized value in substitution (s///)
at /opt/perl_5.8.6/lib/i686-linux-thread-multi/File/Spec/Unix.pm line
53.
Use of uninitialized value in string eq at /opt/perl_5.8.6/lib/i686-
linux-thread-multi/File/Spec/Unix.pm line 54.
Use of uninitialized value in substitution (s///)
at /opt/perl_5.8.6/lib/i686-linux-thread-multi/File/Spec/Unix.pm line
54.
Use of uninitialized value in substitution (s///)
at /opt/perl_5.8.6/lib/i686-linux-thread-multi/File/Spec/Unix.pm line
55.
Use of uninitialized value in string eq at /opt/perl_5.8.6/lib/i686-
linux-thread-multi/File/Spec/Unix.pm line 56.
Use of uninitialized value in substitution (s///)
at /opt/perl_5.8.6/lib/i686-linux-thread-multi/File/Spec/Unix.pm line
56.
Use of uninitialized value in concatenation (.) or string
at /opt/perl_5.8.6/lib/i686-linux-thread-multi/File/Spec/Unix.pm line
57.
not ok 8 - linked - directory with /
# Failed test (t/linked.t at line 70)
# got: ''
# expected: 'test/testdir'
not ok 9 - resolve - directory with /
# Failed test (t/linked.t at line 72)
# got: 'test/linkdir'
# expected: 'test/testdir'
ok 10 - resolve - embedded link
ok 11 - resolve_all - directory
not ok 12 - resolve_all - file
# Failed test (t/linked.t at line 81)
# got: 'test/linkdir/file.txt'
# expected: 'test/testdir/file.txt'
not ok 13 - resolve_all - file
# Failed test (t/linked.t at line 84)
# got: 'test/linkdir/file.txt'
# expected: 'test/testdir/file.txt'
not ok 14 - resolve_all - file absolute
# Failed test (t/linked.t at line 87)
# got: '/home/hwadm/.cpan/build/File-Copy-Link-
0.06/test/linkdir/file.txt'
# expected: '/home/hwadm/.cpan/build/File-Copy-Link-
0.06/test/testdir/file.txt'
ok 15 - full_resolve - directory
ok 16 - full_resolve - file
ok 17 - resolve_path - directory
ok 18 - resolve_path - file
# Looks like you failed 5 tests of 18.