about summary refs log tree commit homepage
path: root/t/lib-simple-http.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/lib-simple-http.sh')
-rw-r--r--t/lib-simple-http.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/t/lib-simple-http.sh b/t/lib-simple-http.sh
index 8d09082..330fe53 100644
--- a/t/lib-simple-http.sh
+++ b/t/lib-simple-http.sh
@@ -53,7 +53,7 @@ test 2 -eq $(grep '^HTTP/1.1 200 OK' $tmp | wc -l)
 test 1 -eq $(grep '^Connection: keep-alive' $tmp | wc -l)
 test 1 -eq $(grep '^Connection: close' $tmp | wc -l)
 test x"$(cat $ok)" = xok
-! grep Error $r_err
+check_stderr
 
 
 echo "burst pipelining"
@@ -74,8 +74,7 @@ test 1 -eq $(grep '^Connection: keep-alive' $tmp | wc -l)
 test 1 -eq $(grep '^Connection: close' $tmp | wc -l)
 test x"$(cat $ok)" = xok
 
-! grep Error $r_err
-
+check_stderr
 
 echo "HTTP/0.9 request should not return headers"
 (