X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=test-sha1.sh;h=bf526c8f5e8649590da1bfd424e11a78c5621f6f;hb=144126abf99f2eac48e63b7ea85a8f3f99f814db;hp=640856af5a6712a05b2530ad0951d84e631d0ec1;hpb=b296990c3bcf942dc7601b31a901c7714a353a0a;p=git.git diff --git a/test-sha1.sh b/test-sha1.sh index 640856af5..bf526c8f5 100755 --- a/test-sha1.sh +++ b/test-sha1.sh @@ -10,7 +10,7 @@ do { test -z "$pfx" || echo "$pfx" dd if=/dev/zero bs=1048576 count=$cnt 2>/dev/null | - tr '[\0]' '[g]' + tr '\000' 'g' } | ./test-sha1 $cnt ` if test "$expect" = "$actual" @@ -55,7 +55,7 @@ do { test -z "$pfx" || echo "$pfx" dd if=/dev/zero bs=1048576 count=$cnt 2>/dev/null | - tr '[\0]' '[g]' + tr '\000' 'g' } | sha1sum | sed -e 's/ .*//' `