Fix double "close()" in ce_compare_data
[gitweb.git] / test-sha1.sh
index 01bbb5782e05ff4da9be9e0b5b308b59e5f7c7e7..640856af5a6712a05b2530ad0951d84e631d0ec1 100755 (executable)
@@ -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