aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2012-07-20 13:33:58 +0200
committerKamil Dudka <kdudka@redhat.com>2012-07-22 02:12:43 +0200
commitd317ca50ae7d8bb250431f86709e53b94f7f6ddf (patch)
treeb29f3c366ecb508c78ce928ea238fff7d828a04f /tests/data
parent487406c3c0d86c5ef3fd323df35db71467b02a92 (diff)
http: print reason phrase from HTTP status line on error
Bug: https://bugzilla.redhat.com/676596
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test245
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/data/test24 b/tests/data/test24
index 7985f43b7..18e7d5b8e 100644
--- a/tests/data/test24
+++ b/tests/data/test24
@@ -24,7 +24,7 @@ http
HTTP GET fail silently on HTTP error return
</name>
<command>
-http://%HOSTIP:%HTTPPORT/24 --fail
+http://%HOSTIP:%HTTPPORT/24 --fail --silent --show-error
</command>
</client>
@@ -43,5 +43,8 @@ Accept: */*
<errorcode>
22
</errorcode>
+<file2 name="log/stderr24">
+curl: (22) The requested URL returned error: 404 BAD BOY
+</file2>
</verify>
</testcase>