From e8a3abc038c6a282a1e9943039c9e46c27720928 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 10 Jun 2010 16:43:06 -0700 Subject: tests: fix sha1 calculation for non-random_blob This was commit abc207b2918606867094f2820bab58223e99aac4 from rainbows.git --- t/test-lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/test-lib.sh b/t/test-lib.sh index 93e1b32..7b4a365 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -106,5 +106,5 @@ rsha1 () { # last resort, see comments in sha1sum.rb for reasoning test -n "$_cmd" || _cmd=sha1sum.rb - expr "$($_cmd < random_blob)" : '\([a-f0-9]\{40\}\)' + expr "$($_cmd)" : '\([a-f0-9]\{40\}\)' } -- cgit v1.2.3-24-ge0c7