summaryrefslogtreecommitdiff
path: root/test-sha1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test-sha1.sh')
-rwxr-xr-xtest-sha1.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test-sha1.sh b/test-sha1.sh
index 640856af5a..bf526c8f5e 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/ .*//'
`