From af09f23d530dd018bfd074a81d679a6ac815165e Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Fri, 13 Sep 2013 00:41:16 +0800 Subject: Match against newer curl. 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 --- t/t0045-client_max_header_size.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/t0045-client_max_header_size.sh') 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" && { -- cgit v1.2.3-24-ge0c7