about summary refs log tree commit homepage
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-05-20 03:05:36 -0700
committerEric Wong <normalperson@yhbt.net>2010-05-20 03:05:36 -0700
commitabc207b2918606867094f2820bab58223e99aac4 (patch)
treeef7bdfa93654b575c30186067f1908e6436c0db1 /t/test-lib.sh
parent9d17cc820044e797a12146730dc260e60302022a (diff)
downloadrainbows-abc207b2918606867094f2820bab58223e99aac4.tar.gz
non-random_blob arguments weren't being taken into account
correctly :x
Diffstat (limited to 't/test-lib.sh')
-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 bf2e7b5..cdeff39 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -159,7 +159,7 @@ 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\}\)'
 }
 
 case $model in