summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-06-10 16:43:06 -0700
committerEric Wong <normalperson@yhbt.net>2010-06-10 16:45:03 -0700
commite8a3abc038c6a282a1e9943039c9e46c27720928 (patch)
tree8a4c83bd7641086eb9d7586eb490745a6cb5a23a
parent0f2b2d484e978face3aa1495526f4b4b6a6e474f (diff)
This was commit abc207b2918606867094f2820bab58223e99aac4 from
rainbows.git
-rw-r--r--t/test-lib.sh2
1 files changed, 1 insertions, 1 deletions
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\}\)'
 }