diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-01-07 18:05:28 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-01-07 18:08:25 -0800 |
commit | f6d448bc21c3bde3ab39b55664722b40f5801c20 (patch) | |
tree | e9163ab15dea2527aedfd652dd8a1f35d30186ed /t | |
parent | 25c9cf0d8420a971840297d9ca62e7dd9c05b09e (diff) | |
download | rainbows-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')
-rw-r--r-- | t/byte-range-common.sh | 2 |
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" |