Subject: | Test suite dosen't cope with spaces in build directory name |
The test suite (respectively t/testex.t) fails when any directory in the build directory contains a space:
C:\Dokumente und Einstellungen\Max\.cpan\build\Archive-Zip-1.08
The fix is to change runPerlCommand() in t/testex.t to quote all its arguments properly:
sub runPerlCommand
{
my $libs = join ( ' -I', @INC );
my $cmd = qq{"$^X" "-I$libs" "-w" @_"};
my $output = qx($cmd);
return wantarray ? ( $?, $output ) : $?;
}