1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00
curl/tests/data/test360
Daniel Stenberg 8a964cb217
curl: add --fail-with-body
Prevent both --fail and --fail-with-body on the same command line.

Verify with test 349, 360 and 361.

Closes #6449
2021-02-11 08:35:27 +01:00

29 lines
369 B
Plaintext

<testcase>
<info>
<keywords>
--fail
--fail-with-body
</keywords>
</info>
# Client-side
<client>
<server>
http
</server>
<name>
Error on both --fail-with-body and --fail
</name>
<command>
http://%HOSTIP:%HTTPPORT/360 --fail-with-body --fail
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<errorcode>
2
</errorcode>
</verify>
</testcase>