diff options
author | Larry Wall <lwall@netlabs.com> | 1991-06-06 23:27:54 +0000 |
---|---|---|
committer | Larry Wall <lwall@netlabs.com> | 1991-06-06 23:27:54 +0000 |
commit | 2b317908ea5309ab202d1cdbadccfdf42d10e2b1 (patch) | |
tree | f523f01a4205f56f5435a39161acb4020ad5bc5b /t | |
parent | 132b68a5c516d31aa5abdbca3bb36ded2c13b4cc (diff) | |
download | perl-2b317908ea5309ab202d1cdbadccfdf42d10e2b1.tar.gz |
perl 4.0 patch 5: patch #4, continued
See patch #4.
Diffstat (limited to 't')
-rw-r--r-- | t/TEST | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,6 +1,6 @@ #!./perl -# $Header: TEST,v 4.0 91/03/20 01:40:22 lwall Locked $ +# $RCSfile: TEST,v $$Revision: 4.0.1.1 $$Date: 91/06/07 11:59:30 $ # This is written in a peculiar style, since we're trying to avoid # most of the constructs we'll be testing for. @@ -56,6 +56,8 @@ while ($test = shift) { unless (/^#/) { if (/^1\.\.([0-9]+)/) { $max = $1; + $totmax += $max; + $files += 1; $next = 1; $ok = 1; } else { @@ -96,4 +98,5 @@ if ($bad == 0) { } } ($user,$sys,$cuser,$csys) = times; -print sprintf("u=%g s=%g cu=%g cs=%g\n",$user,$sys,$cuser,$csys); +print sprintf("u=%g s=%g cu=%g cs=%g files=%d tests=%d\n", + $user,$sys,$cuser,$csys,$files,$totmax); |