summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-08-31 11:26:23 +0000
committerJim Meyering <jim@meyering.net>2003-08-31 11:26:23 +0000
commit33ed4974516ef639eff5f9db34dde83acee82039 (patch)
tree30f9e163cc5085710725d86f80bd193f09af81ba /tests
parent53576d2edae4f5c123786345a530c6a835d32586 (diff)
downloadcoreutils-33ed4974516ef639eff5f9db34dde83acee82039.tar.xz
Reorder/rename the last 3 tests to make them consistent with
those in tests/sha1sum/basic-1.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/md5sum/basic-112
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/md5sum/basic-1 b/tests/md5sum/basic-1
index f2b514e7e..9683e8d31 100755
--- a/tests/md5sum/basic-1
+++ b/tests/md5sum/basic-1
@@ -40,19 +40,19 @@ my @Tests =
{OUT=>"f: OK\n"}],
['check-2', '--check', '--status', {IN=>{'f.md5' => "$degenerate f\n"}},
{AUX=> {f=> 'foo'}}, {EXIT=> 1}],
- ['check-bsd', '--check', {IN=> {'f.md5' => "MD5 (f) = $degenerate\n"}},
- {AUX=> {f=> ''}}, {OUT=>"f: OK\n"}],
- ['check-bsd2', '--check', '--status',
- {IN=> {'f.md5' => "MD5 (f) = $degenerate\n"}},
- {AUX=> {f=> 'bar'}}, {EXIT=> 1}],
# The sha1sum and md5sum drivers share a lot of code.
# Ensure that md5sum does *not* share the part that makes
# sha1sum accept BSD format.
- ['check-bsd3', '--check', {IN=> {'f.sha1' => "SHA1 (f) = $degenerate\n"}},
+ ['check-bsd', '--check', {IN=> {'f.sha1' => "SHA1 (f) = $degenerate\n"}},
{AUX=> {f=> ''}},
{ERR=>"md5sum: f.sha1: no properly formatted "
. "MD5 checksum lines found\n"},
{EXIT=> 1}],
+ ['check-bsd2', '--check', {IN=> {'f.md5' => "MD5 (f) = $degenerate\n"}},
+ {AUX=> {f=> ''}}, {OUT=>"f: OK\n"}],
+ ['check-bsd3', '--check', '--status',
+ {IN=> {'f.md5' => "MD5 (f) = $degenerate\n"}},
+ {AUX=> {f=> 'bar'}}, {EXIT=> 1}],
);
# Insert the `--text' argument for each test.