Skip Menu |

This queue is for tickets about the Test-NoTabs CPAN distribution.

Report information
The Basics
Id: 67376
Status: resolved
Priority: 0/
Queue: Test-NoTabs

People
Owner: bobtfish [...] bobtfish.net
Requestors: rurban [...] x-ray.at
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.0
Fixed in: (no value)



Subject: [PATCH] space in pwd
make test fails if cwd or perl has a space in its path (such as the Windows default ~/.cpan dir) Attached patch fixes both issues.
Subject: Test-NoTabs-1.0.patch
diffbk Test-NoTabs-1.0-IVZpfk diff -u Test-NoTabs-1.0-IVZpfk/t/12-fail.t~ Test-NoTabs-1.0-IVZpfk/t/12-fail.t --- Test-NoTabs-1.0-IVZpfk/t/12-fail.t~ 2009-07-28 10:37:32.000000000 +0200 +++ Test-NoTabs-1.0-IVZpfk/t/12-fail.t 2011-04-11 12:54:06.244166200 +0200 @@ -5,8 +5,8 @@ use File::Temp qw( tempdir tempfile ); my $perl = $^X || 'perl'; -my $inc = join(' -I ', @INC) || ''; -$inc = "-I $inc" if $inc; +$perl = $perl =~ m/\s/ ? qq{"$perl"} : $perl; +my $inc = "-I blib/arch -I blib/lib"; { my $dir = make_bad_file_1();
This should be fixed in the latest version. Many thanks for the patch.