Subject: | Devel::Cover 0.73 tests fail due to unescaped path |
Date: | Sun, 24 Oct 2010 17:10:33 -0400 |
To: | bug-Devel-Cover [...] rt.cpan.org |
From: | Nicholas Harteau <nrh [...] ikami.com> |
Using 'perl -MCPAN -e "install Devel::Cover"', all tests fail due to the unquoted/escaped string in the test command:
1. t/e2e/adefault_param.t ...... Cannot close /opt/local/bin/perl -I/Users/nrh/Library/Application\ Support/.cpan/build/Devel-Cover-0.73-0QSeZc/
2. -I/Users/nrh/Library/Application\ Support/.cpan/build/Devel-Cover-0.73-0QSeZc/blib/lib \
3. -I/Users/nrh/Library/Application\ Support/.cpan/build/Devel-Cover-0.73-0QSeZc/blib/arch \
4. -MDevel::Cover=-db,/Users/nrh/Library/Application Support/.cpan/build/Devel-Cover-0.73-0QSeZc/t/e2e/cover_db_default_param/,-select,default_param,-ignore,blib,Devel/Cover,-merge,0,-coverage,statement,branch,condition,subroutine \
5. /Users/nrh/Library/Application\ Support/.cpan/build/Devel-Cover-0.73-0QSeZc/tests/default_param : at /Users/nrh/Library/Application Support/.cpan/build/Devel-Cover-0.73-0QSeZc/blib/lib/Devel/Cover/Test.pm line 189.
I've broken this up slightly, but line #4 above doesn't escape the space in 'Application Support', though all other references are escaped.
Changing my CPAN build settings to use a path with no spaces makes things work again.
Note that the 'Application Support'-based path is the default cpan_home on OSX.
--
nicholas harteau
nrh@ikami.com