Subject: | Test failure for Pathtools-3.02 on Cygwin |
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.