This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62a28c9
)
Use test.pl, not Test.pm, in t/run/*.t
author
Nicholas Clark
<nick@ccl4.org>
Fri, 8 Aug 2008 09:24:39 +0000
(09:24 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Fri, 8 Aug 2008 09:24:39 +0000
(09:24 +0000)
p4raw-id: //depot/perl@34183
t/run/runenv.t
patch
|
blob
|
blame
|
history
diff --git
a/t/run/runenv.t
b/t/run/runenv.t
index
7359c4e
..
2a73e7c
100644
(file)
--- a/
t/run/runenv.t
+++ b/
t/run/runenv.t
@@
-12,10
+12,9
@@
BEGIN {
print "1..0 # Skip: no fork\n";
exit 0;
}
+ require './test.pl'
}
-use Test;
-
plan tests => 17;
my $STDOUT = './results-0';
@@
-82,7
+81,8
@@
sub it_didnt_work {
sub try {
my ($success, $reason) = runperl(@_);
$reason =~ s/\n/\\n/g if defined $reason;
- ok( !!$success, 1, $reason );
+ local $::Level = $::Level + 1;
+ ok( $success, $reason );
}
# PERL5OPT Command-line options (switches). Switches in