]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(million-a): Add the "million a's" test (one of the FIPS test vectors).
authorJim Meyering <jim@meyering.net>
Sun, 23 Oct 2005 14:32:18 +0000 (14:32 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 23 Oct 2005 14:32:18 +0000 (14:32 +0000)
tests/sha1sum/basic-1

index 04725849b860c5f6618a595c00a9a3f34747be1e..d9a9206c9fb7d5134d8c75a6bc4a102062516145 100755 (executable)
@@ -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.