Subject: | Relative perl patch befuddles tests. |
Date: | Thu, 13 Mar 2008 09:04:25 -0700 |
To: | bug-Test-Simple [...] rt.cpan.org |
From: | Michael G Schwern <schwern [...] pobox.com> |
Show quoted text
-------- Original Message --------
Subject: More Test-Simple test failures
Date: Wed, 12 Mar 2008 16:36:17 +0000
From: David Cantrell <david@cantrell.org.uk>
To: mschwern@cpan.org
While preparing a bug report for p5p about the :std/:locale thing, I
found this:
t/dont_overwrite_die_handler....ok
t/eq_set........................ok
t/exit..........................sh: ../cpantesting/perl-5.10.0/bin/perl:
not found
# Failed test 'death.plx exited with 1 (expected 255)'
# at t/exit.t line 93.
(more similar failures snipped)
The fix is to move the 'my $Perl = $^X' to just before the chdir 't',
and make it into an absolute path thus:
my $Perl = File::Spec->rel2abs($^X);
--
Stabbing you in the face so you don't have to.