Skip Menu |
 

This queue is for tickets about the PathTools CPAN distribution.

Report information
The Basics
Id: 9585
Status: resolved
Priority: 0/
Queue: PathTools

People
Owner: Nobody in particular
Requestors: steve [...] fisharerojo.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 3.02
Fixed in: 3.03



Subject: Test failure for Pathtools-3.02 on Cygwin
Download (untitled) / with headers
text/plain 2.7k
I am receiving the following test failure on Cygwin with Pathtools-3.02. t/crossplatform....ok 7/50 skipped: Can't load File::Spec::VMS t/cwd..............ok 21/31readdir(linktest/..): No such file or directory at t/ cwd.t line 160 t/cwd..............NOK 22 # doesn't match '(?-xism:t/_ptrslt_/_path_/_to_/_a_/_dir_$)' t/cwd..............ok 29/31# Looks like you failed 1 test of 31. t/cwd..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 22 Failed 1/31 tests, 96.77% okay t/Functions........ok t/rel2abs2rel......ok t/Spec.............ok 83/466 skipped: various reasons t/taint............ok t/win32............skipped all skipped: this is not win32 Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/cwd.t 1 256 31 1 3.23% 22 1 test and 90 subtests skipped. Failed 1/7 test scripts, 85.71% okay. 1/570 subtests failed, 99.82% okay. When running the test from a command line, I'm seeing additional errors, which I'm guessing is my set-up. $ perl -Iblib/arch/auto t/cwd.t 1..31 ok 1 - main->can(...) ok 2 - chdir() not exported by default ok 3 - nor abs_path() ok 4 - nor fast_abs_path() # native pwd = '/usr/bin/pwd.exe' ok 5 - cwd() ok 6 - getcwd() ok 7 - fastcwd() ok 8 - fastgetcwd() ok 9 ok 10 - cwd() ok 11 ok 12 - getcwd() ok 13 ok 14 - fastcwd() ok 15 ok 16 - fastgetcwd() ok 17 - Cwd::chdir() updates $ENV{PWD} #/cygdrive/f/.cpan/build/PathTools-3.02/t/_ptrslt_/_path_/_to_/_a_ #/cygdrive/f/.cpan/build/PathTools-3.02/t/_ptrslt_/_path_/_to_ #/cygdrive/f/.cpan/build/PathTools-3.02/t/_ptrslt_/_path_ #/cygdrive/f/.cpan/build/PathTools-3.02/t/_ptrslt_ #/cygdrive/f/.cpan/build/PathTools-3.02/t ok 18 ok 19 ok 20 ok 21 readdir(linktest/..): No such file or directory at t/cwd.t line 160 not ok 22 # Failed test (t/cwd.t at line 160) # '' # doesn't match '(?-xism:t/_ptrslt_/_path_/_to_/_a_/_dir_$)' ok 23 - abs_path() can be invoked on a file ok 24 - fast_abs_path() can be invoked on a file ok 25 - _perl_abs_path() can be invoked on a file ok 26 - abs_path() can be invoked on a file ok 27 - fast_abs_path() can be invoked on a file ok 28 - _perl_abs_path() can be invoked on a file not ok 29 - abs_path() works on files in the root directory # Failed test (t/cwd.t at line 197) # got: '//cygwin.bat' # expected: '/cygwin.bat' not ok 30 - fast_abs_path() works on files in the root directory # Failed test (t/cwd.t at line 198) # got: '//cygwin.bat' # expected: '/cygwin.bat' : No such file or directory at t/cwd.t line 199 # Looks like you planned 31 tests but only ran 30. # Looks like your test died just after 30.
From: Ken Williams <ken [...] mathforum.org>
Subject: Re: [cpan #9585] Test failure for Pathtools-3.02 on Cygwin
Date: Tue, 11 Jan 2005 06:37:41 -0600
To: bug-PathTools [...] rt.cpan.org
RT-Send-Cc:
Download (untitled) / with headers
text/plain 123b
Hi Steve, I don't quite see why this is happening, but I can check it out at work where I have Cygwin. Thanks. -Ken
From: Thomas.R.Wyant-III [...] usa.dupont.com
Download (untitled) / with headers
text/plain 591b
[SMPETERS - Mon Jan 10 11:30:03 2005]: Show quoted text
> I am receiving the following test failure on Cygwin with Pathtools- > 3.02.
Second the motion. My symptoms look (to me) the same as SMPETERS', but I have attached the output of "make test TEST_VERBOSE=1" in case someone wants to do an independent verification. The problem occurs whether you're using cpan or just downloading and doing the usual manual incantation. There's no problem with PathTools-3.01 under Cygwin, or with PathTools-3.02 under Darwin. Don't know if it makes any difference, but: Red Hat just updated the Cygwin Perl to 5.8.6.
Download test.txt
text/plain 15.9k

Message body is not shown because it is too large.

This should be fixed in PathTools-3.03. -Ken


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.