projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55a9fe1
)
Need to know the number of tests.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 1 Aug 2001 13:38:29 +0000
(13:38 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 1 Aug 2001 13:38:29 +0000
(13:38 +0000)
p4raw-id: //depot/perl@11533
t/run/exit.t
patch
|
blob
|
history
diff --git
a/t/run/exit.t
b/t/run/exit.t
index
7b91cf3
..
d9fe8b4
100644
(file)
--- a/
t/run/exit.t
+++ b/
t/run/exit.t
@@
-18,10
+18,11
@@
sub run {
return system($cmd.$quote.$code.$quote);
}
-## can't use this in 'use Test::More' yet
-##my $numtests = ($^O eq 'VMS') ? 7 : 3;
+BEGIN {
+ $numtests = ($^O eq 'VMS') ? 7 : 3;
+}
-use Test::More tests =>
'no_plan'
;
+use Test::More tests =>
$numtests
;
my $exit, $exit_arg;