about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rwxr-xr-xt/t0005-large-file-response.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t0005-large-file-response.sh b/t/t0005-large-file-response.sh
index 40bcdf8..d25134e 100755
--- a/t/t0005-large-file-response.sh
+++ b/t/t0005-large-file-response.sh
@@ -50,11 +50,11 @@ t_begin "HTTP/1.0 test" && {
 t_begin "HTTP/0.9 test" && {
         (
                 printf 'GET /random_blob\r\n'
-                cat $fifo > $tmp &
+                rsha1 < $fifo > $tmp &
                 wait
                 echo ok > $ok
         ) | socat - TCP:$listen > $fifo
-        cmp $tmp random_blob
+        test $(cat $tmp) = $(rsha1 < random_blob)
         test xok = x$(cat $ok)
 }