aboutsummaryrefslogtreecommitdiff
path: root/tests/curl/testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-02-27 18:11:37 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-02-27 19:09:37 +0300
commit736b0f25003c92b3903798ce0a768230480d8f4b (patch)
treed9b2209258b3b3dd998364453a5622ee02ab6664 /tests/curl/testscript
parenta1ea72d719b63a4d2b6421ce2e53b7e3ab12a8a1 (diff)
Fix curl constructor for nullfd input for HTTP POST method
Diffstat (limited to 'tests/curl/testscript')
-rw-r--r--tests/curl/testscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/curl/testscript b/tests/curl/testscript
index 5818d1a..d2056cd 100644
--- a/tests/curl/testscript
+++ b/tests/curl/testscript
@@ -55,7 +55,10 @@ sudo /usr/sbin/in.tftpd \
curl -sS --location --data-binary @- https://build2.org/bogus
- curl -sS --fail --location https://build2.org/bogus
+ curl -sS --fail --location --data-raw "" --verbose https://build2.org/bogus
+ %.*
+ %> POST /bogus HTTP.+%
+ %.*
%curl: \(22\) The requested URL returned error: 404( Not Found)?%
EOE
}