From 407806b27f032b3bce828ee0a152b5f67e997e09 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 18 Oct 2010 22:35:39 +0200 Subject: 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. --- tests/misc/md5sum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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. -- cgit v1.2.3-70-g09d2