about summary refs log tree commit homepage
path: root/t/test-lib.sh
diff options
context:
space:
mode:
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 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\}\)'
 }