diff options
author | Jim Meyering <jim@meyering.net> | 2005-10-23 14:32:18 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-10-23 14:32:18 +0000 |
commit | 4d895ec806d19f1d68254f02e7f6a34c91b1609e (patch) | |
tree | 2da7cfb6b579da54723bff20c7d2f920ff1b65bc | |
parent | 7ac64b812e3f35f1a69a87256273a9c292c4be91 (diff) | |
download | coreutils-4d895ec806d19f1d68254f02e7f6a34c91b1609e.tar.xz |
(million-a): Add the "million a's" test (one of the FIPS test vectors).
-rwxr-xr-x | tests/sha1sum/basic-1 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/sha1sum/basic-1 b/tests/sha1sum/basic-1 index 04725849b..d9a9206c9 100755 --- a/tests/sha1sum/basic-1 +++ b/tests/sha1sum/basic-1 @@ -37,6 +37,8 @@ my @Tests = {OUT=>"761c457bf73b14d27e9e9265c46f4b4dda11f940 f\n"}], ['s7', {IN=> {f=> '1234567890' x 8}}, {OUT=>"50abf5706a150990a08b2c5ea40fa0e585554732 f\n"}], + ['million-a', {IN=> {f=> 'a' x 1000000}}, + {OUT=>"34aa973cd4c4daa4f61eeb2bdbad27316534016f f\n"}], ['bs-sha', {IN=> {".\\foo"=> ''}}, {OUT=>"\\$sha_degenerate .\\\\foo\n"}], # The sha1sum and md5sum drivers share a lot of code. |