Skip Menu |

This queue is for tickets about the release CPAN distribution.

Report information
The Basics
Id: 14658
Status: resolved
Worked: 5 min
Priority: 0/
Queue: release

People
Owner: bdfoy [...] cpan.org
Requestors: jjore [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: t/compile.t uses incorrect executable name.
t/compile.t incorrectly assumes that the `perl' executable in my path is the one that it is being installed for. Use $^X instead.
--- t/compile.t.~1~ 2003-11-27 08:39:22.000000000 -0600 +++ t/compile.t 2005-09-19 20:53:19.441571712 -0500 @@ -6,6 +6,6 @@ print "bail out! Script file is missing!" unless ok( -e $file, "File exists" ); -my $output = `perl -c $file 2>&1`; +my $output = `$^X -c $file 2>&1`; like( $output, qr/syntax OK$/, 'script compiles' );
I've added the $^X test patch to version 1.01, now on its way to CPAN.