aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-02-23 17:50:38 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-02-26 11:52:12 +0300
commit4a3ec1c7e77e3da09d39ab57048bc6b1a39fb003 (patch)
treece74d09943dd33282a8aafeafa805c1583d9cdd4 /tests
parentea51b01330a96084f1b33cc4fef4d7eec6c8d170 (diff)
Add read_http_status(), parse_http_status_code(), and read_http_response_line() static functions to curl class
Diffstat (limited to 'tests')
-rw-r--r--tests/curl/testscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/curl/testscript b/tests/curl/testscript
index 3da2306..453c09a 100644
--- a/tests/curl/testscript
+++ b/tests/curl/testscript
@@ -43,14 +43,14 @@ sudo /usr/sbin/in.tftpd \
: http
:
{
- $* 'http' 2>>EOE
+ $* 'http' 2>>~%EOE%
curl -s -S --fail --location https://build2.org/bogus
- curl: (22) The requested URL returned error: 404 Not Found
+ %curl: \(22\) The requested URL returned error: 404( Not Found)?%
curl -s -S --fail --location https://build2.org
curl -s -S --fail --location --data-binary @- https://build2.org/bogus
- curl: (22) The requested URL returned error: 404 Not Found
+ %curl: \(22\) The requested URL returned error: 404( Not Found)?%
EOE
}