summaryrefslogtreecommitdiff
path: root/test-sha1.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-06-24 02:59:20 -0700
committerJunio C Hamano <junkio@cox.net>2006-06-24 02:59:20 -0700
commitb57cbbf8a8630b6d75c885348dc79b8b8cb96c2e (patch)
tree26191a7934ca66730cecc964763150aa537ff623 /test-sha1.sh
parentb65bc21e7d8dc8cafc70dfa6354cb66b8874b2d9 (diff)
downloadgit-b57cbbf8a8630b6d75c885348dc79b8b8cb96c2e.tar.gz
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>
Diffstat (limited to 'test-sha1.sh')
-rwxr-xr-xtest-sha1.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-sha1.sh b/test-sha1.sh
index 01bbb5782e..640856af5a 100755
--- a/test-sha1.sh
+++ b/test-sha1.sh
@@ -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