Skip Menu |

This queue is for tickets about the File-Copy-Link CPAN distribution.

Report information
The Basics
Id: 11437
Status: resolved
Priority: 0/
Queue: File-Copy-Link

People
Owner: Nobody in particular
Requestors: Marek.Rouchal [...] gmx.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.06
Fixed in: 0.061



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.
From: Robin Barker <Robin.Barker [...] npl.co.uk>
To: "'bug-File-Copy-Link [...] rt.cpan.org'" <bug-File-Copy-Link [...] rt.cpan.org>
CC: "'MAREKR [...] cpan.org'" <MAREKR [...] cpan.org>
Subject: RE: [cpan #11437] Test fails on Solaris and Linux
Date: Thu, 3 Mar 2005 12:49:04 -0000
RT-Send-Cc:
This should be fixed in File-Copy-Link-0.061 Robin Show quoted text
-----Original Message----- From: via RT [mailto:bug-File-Copy-Link@rt.cpan.org] Sent: 09 February 2005 07:26 To: undisclosed-recipients Subject: [cpan #11437] Test fails on Solaris and Linux This message about File-Copy-Link was sent to you by MAREKR <MAREKR@cpan.org> via rt.cpan.org Full context and any attached attachments can be found at: <URL: https://rt.cpan.org/Ticket/Display.html?id=11437 > 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. ------------------------------------------------------------------- This e-mail and any attachments may contain confidential and/or privileged material; it is for the intended addressee(s) only. If you are not a named addressee, you must not use, retain or disclose such information. NPL Management Ltd cannot guarantee that the e-mail or any attachments are free from viruses. NPL Management Ltd. Registered in England and Wales. No: 2937881 Registered Office: Teddington, Middlesex, United Kingdom TW11 0LW. -------------------------------------------------------------------