diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-05-20 11:14:44 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-05-20 11:14:44 +0000 |
commit | 3d985688e47018a36cfcf0ebbfc9d16691f86eec (patch) | |
tree | dff43e994cd63e46e960a7447b03816e9dfaa989 /tests/keywords.pl | |
parent | 17ea2631cd081dff7380d0b960448d1414f64bd7 (diff) | |
download | curl-3d985688e47018a36cfcf0ebbfc9d16691f86eec.tar.gz |
sum up
Diffstat (limited to 'tests/keywords.pl')
-rwxr-xr-x | tests/keywords.pl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/keywords.pl b/tests/keywords.pl index 0a2d38709..6eaff4e4c 100755 --- a/tests/keywords.pl +++ b/tests/keywords.pl @@ -131,7 +131,8 @@ for $t (@mtest) { printf "<tr><td>%d</td><td>$t</td><td>%s</td></tr>\n", $k{$t}, show($t{$t}); } -printf "</table><p> $count tests (%d lack keywords)\n", +printf "</table><p> $count out of %d tests (%d lack keywords)\n", + scalar(@miss) + $count, scalar(@miss); for(@miss) { @@ -140,7 +141,8 @@ for(@miss) { print STDERR "\n"; -print "<p>Error codes tested for:<br>\n"; +printf "<p> %d different error codes tested for:<br>\n", + scalar(keys %errors); # numerically on amount, or alphebetically if same amount my @etest = sort { $a <=> $b} keys %errors; |