test-sha1: test hashing large buffer
test to hash a large buffer in one go is more important than hashing large amount of data in small fixed chunks. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
@ -11,7 +11,7 @@ do
|
||||
test -z "$pfx" || echo "$pfx"
|
||||
dd if=/dev/zero bs=1048576 count=$cnt 2>/dev/null |
|
||||
tr '[\0]' '[g]'
|
||||
} | ./test-sha1
|
||||
} | ./test-sha1 $cnt
|
||||
`
|
||||
if test "$expect" = "$actual"
|
||||
then
|
||||
|
Reference in New Issue
Block a user