diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-05-20 03:06:41 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-05-20 03:06:41 -0700 |
commit | 94307f744608ad6fd4f8d0ab57d23cf405917b15 (patch) | |
tree | 8638f9f579aac1d1f516f50bf5e3f635b3ebc13b /t | |
parent | abc207b2918606867094f2820bab58223e99aac4 (diff) | |
download | rainbows-94307f744608ad6fd4f8d0ab57d23cf405917b15.tar.gz |
This test can cause a lot of I/O, especially when run in parallel. Just rely on the fixed rsha1 code to compute the SHA1 of the response.
Diffstat (limited to 't')
-rwxr-xr-x | t/t0005-large-file-response.sh | 4 |
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) } |