about summary refs log tree commit homepage
path: root/t/byte-range-common.sh
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-01-07 18:05:28 -0800
committerEric Wong <normalperson@yhbt.net>2011-01-07 18:08:25 -0800
commitf6d448bc21c3bde3ab39b55664722b40f5801c20 (patch)
treee9163ab15dea2527aedfd652dd8a1f35d30186ed /t/byte-range-common.sh
parent25c9cf0d8420a971840297d9ca62e7dd9c05b09e (diff)
downloadrainbows-f6d448bc21c3bde3ab39b55664722b40f5801c20.tar.gz
We check the return code anyways, and spewing random binary
data to the terminal with verbosity on is not a good idea.
Diffstat (limited to 't/byte-range-common.sh')
-rw-r--r--t/byte-range-common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/byte-range-common.sh b/t/byte-range-common.sh
index b4852a6..ba05864 100644
--- a/t/byte-range-common.sh
+++ b/t/byte-range-common.sh
@@ -55,7 +55,7 @@ t_begin "normal full request matches" && {
 
 t_begin "crazy offset goes over" && {
         range_insane=-r$(($random_blob_size * 2))-$(($random_blob_size * 4))
-        curl -vsS 2>$err $range_insane $url
+        curl -vsS 2>$err $range_insane $url >/dev/null
         grep '^< HTTP/1\.[01] 416 ' $err || die "expected 416 error"
         grep '^< Content-Range: bytes \*/'$random_blob_size $err || \
           die "expected Content-Range: bytes */SIZE"