diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2013-09-13 00:41:16 +0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-09-13 16:49:59 +0000 |
commit | af09f23d530dd018bfd074a81d679a6ac815165e (patch) | |
tree | 736d687cef033d944e4674085a93298461a231fc /t | |
parent | d4988043825d1082666b4c219f2d66659b0c350b (diff) | |
download | rainbows-af09f23d530dd018bfd074a81d679a6ac815165e.tar.gz |
My curl 7.32.0 would actually print 400 Bad Request Hope this would make it match against newer or older curl. Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 't')
-rwxr-xr-x | t/t0045-client_max_header_size.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0045-client_max_header_size.sh b/t/t0045-client_max_header_size.sh index cd8f1fe..320fe0c 100755 --- a/t/t0045-client_max_header_size.sh +++ b/t/t0045-client_max_header_size.sh @@ -60,7 +60,7 @@ t_begin "smallest HTTP/0.9 request works right" && { t_begin "HTTP/1.1 request fails" && { curl -vsSf http://$listen/ > $tmp 2>&1 && die "unexpected curl success" - grep '400$' $tmp + grep '400\( Bad Request\)\?$' $tmp } t_begin "increase client_max_header_size on reload" && { |