diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-08-08 09:24:39 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-08-08 09:24:39 +0000 |
commit | 16570ae7eebaecacdda358922298468d022f241d (patch) | |
tree | ecded1f69d15a1f4fca20a1db07ba50d98770e5a | |
parent | 62a28c976c312a2c7269acc71060b1037a453bea (diff) | |
download | perl-16570ae7eebaecacdda358922298468d022f241d.tar.gz |
Use test.pl, not Test.pm, in t/run/*.t
p4raw-id: //depot/perl@34183
-rw-r--r-- | t/run/runenv.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/run/runenv.t b/t/run/runenv.t index 7359c4ecb5..2a73e7c400 100644 --- 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 |