mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
8a964cb217
Prevent both --fail and --fail-with-body on the same command line. Verify with test 349, 360 and 361. Closes #6449
29 lines
369 B
Plaintext
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>
|