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
(from parent 1:
ecfb218
)
test harness tweak from Hans Mulder
author
Gurusamy Sarathy
<gsar@cpan.org>
Fri, 17 Dec 1999 06:16:49 +0000
(06:16 +0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Fri, 17 Dec 1999 06:16:49 +0000
(06:16 +0000)
p4raw-id: //depot/perl@4689
t/TEST
patch
|
blob
|
blame
|
history
diff --git
a/t/TEST
b/t/TEST
index
1f9190d
..
0b674af
100755
(executable)
--- a/
t/TEST
+++ b/
t/TEST
@@
-153,7
+153,7
@@
EOT
}
}
else {
- $pct =
sprintf("%.2f", ($files - $bad) / $files * 100)
;
+ $pct =
$files ? sprintf("%.2f", ($files - $bad) / $files * 100) : "0.00"
;
if ($bad == 1) {
warn "Failed 1 test script out of $files, $pct% okay.\n";
}