summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@justemail.net>2010-10-18 22:35:39 +0200
committerJim Meyering <meyering@redhat.com>2010-10-19 09:32:38 +0200
commit407806b27f032b3bce828ee0a152b5f67e997e09 (patch)
treebaf0156a6fd2232ca18c4843be3c7961854159b4 /tests
parent3c7112104daf8f7095048a3c5b2ee6f3e600521f (diff)
downloadcoreutils-407806b27f032b3bce828ee0a152b5f67e997e09.tar.xz
md5sum: print a summary warning for improperly formatted lines
And remove the now-superfluous totals from the other two warnings, so the plurals will also work in other languages than English. * src/md5sum.c (digest_check): Change as above. * tests/misc/md5sum (check-quiet2): Adjust accordingly.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/misc/md5sum2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/md5sum b/tests/misc/md5sum
index d3c523e7a..92cc0fb16 100755
--- a/tests/misc/md5sum
+++ b/tests/misc/md5sum
@@ -51,7 +51,7 @@ my @Tests =
['check-quiet2', '--check', '--quiet',
{IN=>{'f.md5' => "$degenerate f\n"}},
{AUX=> {f=> 'foo'}}, {OUT=>"f: FAILED\n"},
- {ERR=>"md5sum: WARNING: 1 of 1 computed"
+ {ERR=>"md5sum: WARNING: 1 computed"
. " checksum did NOT match\n"},
{EXIT=> 1}],
# The sha1sum and md5sum drivers share a lot of code.