Subject: | Failing tests on Win32 |
A few tests fail for me on Windows XP with ActivePerl 5.8.8 build 822.
Looks to be just issues with the directory separator character and the
fact that Win32 doesn't support symlinks:
Installing File::Fu (0.000005)
==> MISSING Signature file! <==
Running [C:\Perl\bin\perl.exe C:\Perl\site\bin\cpanp-run-perl
C:\DOCUME~1\WILL~1.HAW\APPLIC~1\CPANPL~1\58261E~1.8\build\File-Fu-v0.0.5\Makefile.PL
]...
Writing Makefile for File::Fu
Running [C:\PROGRA~1\MICROS~1.0\VC\bin\nmake.EXE test]...
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/00-load.....ok 1/1# Testing File::Fu v0.0.5
t/00-load.....ok
t/basic.......ok
t/dir.........ok 1/0The symlink function is unimplemented at
C:\DOCUME~1\WILL~1.HAW\APPLIC~1\CPANPL~1\58261E~1.8\build\File-Fu-v0.0.5\blib\lib/File/Fu/Dir.pm
line 771.
# Looks like your test exited with 20 just after 11.
t/dir.........dubious
Test returned status 20 (wstat 5120, 0x1400)
after all the subtests completed successfully
t/dirlinks....The symlink function is unimplemented at
C:\DOCUME~1\WILL~1.HAW\APPLIC~1\CPANPL~1\58261E~1.8\build\File-Fu-v0.0.5\blib\lib/File/Fu/Dir.pm
line 771.
cannot remove directory for
C:\DOCUME~1\WILL~1.HAW\LOCALS~1\Temp\_or5T85r8c: Permission denied at
C:\DOCUME~1\WILL~1.HAW\APPLIC~1\CPANPL~1\58261E~1.8\build\File-Fu-v0.0.5\blib\lib/File/Fu/Dir.pm
line 737
(in cleanup) rmtree failed at
C:\DOCUME~1\WILL~1.HAW\APPLIC~1\CPANPL~1\58261E~1.8\build\File-Fu-v0.0.5\blib\lib/File/Fu/Dir.pm
line 738
File::Fu::Dir::remove('File::Fu::Dir::Temp=HASH(0x1c8cac0)')
called at
C:\DOCUME~1\WILL~1.HAW\APPLIC~1\CPANPL~1\58261E~1.8\build\File-Fu-v0.0.5\blib\lib/File/Fu/Dir/Temp.pm
line 128
File::Fu::Dir::Temp::DESTROY('File::Fu::Dir::Temp=HASH(0x1c8cac0)')
called at
C:\DOCUME~1\WILL~1.HAW\APPLIC~1\CPANPL~1\58261E~1.8\build\File-Fu-v0.0.5\blib\lib/File/Fu/Dir.pm
line 771
eval {...} called at
C:\DOCUME~1\WILL~1.HAW\APPLIC~1\CPANPL~1\58261E~1.8\build\File-Fu-v0.0.5\blib\lib/File/Fu/Dir.pm
line 771
# Looks like your test exited with 255 before it could output anything.
t/dirlinks....dubious
Test returned status 255 (wstat 65280, 0xff00)
t/end_bits....ok
t/errors......ok 1/0
t/errors......NOK 6/0# Failed test 'no readlink on file'
# at t/errors.t line 32.
# 'cannot readlink 'blortleblat89' No such file or
directory at t/errors.t line 31
# '
# doesn't match '(?-xism:^cannot readlink .* Invalid)'
# Looks like you failed 1 test of 6.
t/errors......dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 6
Failed 1/6 tests, 83.33% okay
t/finder......ok
t/global......
# Failed test at t/global.t line 10.
t/global......NOK 1/0# got: 't\global.t'
# expected: 't/global.t'
t/global......ok 2/0# Looks like you failed 1 test of 3.
t/global......dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/3 tests, 66.67% okay
t/links.......ok 1/0link 'tmp/file' to 'tmp/link' failed Invalid
argument at t/links.t line 22
# Looks like your test exited with 9 just after 2.
t/links.......dubious
Test returned status 9 (wstat 2304, 0x900)
after all the subtests completed successfully
t/slurp.......ok
t/temp........ok 1/0 (in cleanup) unlink 'juUTX7Aq5r' failed
Permission denied at
C:\DOCUME~1\WILL~1.HAW\APPLIC~1\CPANPL~1\58261E~1.8\build\File-Fu-v0.0.5\blib\lib/File/Fu/File/Temp.pm
line 158
t/temp........NOK 10/0# Failed test 'gone'
# at t/temp.t line 30.
t/temp........NOK 11/0# Failed test at t/temp.t line 37.
# 'C:\DOCUME~1\WILL~1.HAW\LOCALS~1\Temp\foo2CIVvonITp'
# doesn't match '(?-xism:^foo)'
t/temp........NOK 12/0# Failed test at t/temp.t line 38.
# got: './'
# expected: 'C:\DOCUME~1\WILL~1.HAW\LOCALS~1\Temp/'
(in cleanup) unlink
'C:\DOCUME~1\WILL~1.HAW\LOCALS~1\Temp\foo2CIVvonITp' failed Permission
denied at
C:\DOCUME~1\WILL~1.HAW\APPLIC~1\CPANPL~1\58261E~1.8\build\File-Fu-v0.0.5\blib\lib/File/Fu/File/Temp.pm
line 158
t/temp........NOK 15/0# Failed test 'gone'
# at t/temp.t line 43.
# Looks like you failed 4 tests of 15.
t/temp........dubious
Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 10-12, 15
Failed 4/15 tests, 73.33% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/dir.t 20 5120 11 0 ??
t/dirlinks.t 255 65280 ?? ?? ??
t/errors.t 1 256 6 1 6
t/global.t 1 256 3 1 1
t/links.t 9 2304 2 0 ??
t/temp.t 4 1024 15 4 10-12 15
Failed 6/11 test scripts. 6/129 subtests failed.
Files=11, Tests=129, 2 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)
Failed 6/11 test programs. 6/129 subtests failed.
NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0x4'
Stop.
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=MSWin32, osvers=5.00, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cl', ccflags ='-nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
-D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED
-DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX',
optimize='-MD -Zi -DNDEBUG -O1',
cppflags='-DWIN32'
ccversion='12.00.8804', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf
-libpath:"C:\Perl\lib\CORE" -machine:x86'
libpth=\lib
libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib
netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib
odbc32.lib odbccp32.lib msvcrt.lib
perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib
oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib
version.lib odbc32.lib odbccp32.lib msvcrt.lib
libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl58.lib
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug
-opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_IMPLICIT_SYS PERL_MALLOC_WRAP
PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_SITECUSTOMIZE
Locally applied patches:
ActivePerl Build 822 [280952]
Iin_load_module moved for compatibility with build 806
PerlEx support in CGI::Carp
Less verbose ExtUtils::Install and Pod::Find
Patch for CAN-2005-0448 from Debian with modifications
Rearrange @INC so that 'site' is searched before 'perl'
Partly reverted 24733 to preserve binary compatibility
MAINT31223 plus additional changes
31490 Problem bootstraping Win32CORE
31324 Fix DynaLoader::dl_findfile() to locate .so files again
31214 Win32::GetLastError fails when first called
31211 Restore Windows NT support
31188 Problem killing a pseudo-forked child on Win32
29732 ANSIfy the PATH environment variable on Windows
27527,29868 win32_async_check() can loop indefinitely
26970 Make Passive mode the default for Net::FTP
26379 Fix alarm() for Windows 2003
24699 ICMP_UNREACHABLE handling in Net::Ping
Built under MSWin32
Compiled at Jul 31 2007 19:34:48
%ENV:
PERL5LIB=
@INC:
C:/Perl/site/lib
C:/Perl/lib
.