mirror of
https://github.com/moparisthebest/curl
synced 2024-12-25 17:48:48 -05:00
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>
|