curl/tests/data/test1247
Daniel Stenberg f82bbe01c8 curl: add --fail-early
Exit with an error on the first transfer error instead of continuing to
do the rest of the URLs.

Discussion: https://curl.haxx.se/mail/archive-2016-11/0038.html
2016-11-14 08:35:40 +01:00

39 lines
464 B
Plaintext

<testcase>
<info>
<keywords>
HTTP
--fail-early
</keywords>
</info>
#
# Server-side
<reply>
<data>
</data>
</reply>
#
# Client-side
<client>
<server>
none
</server>
<name>
--fail-early
</name>
<command>
--fail-early h1234://%HOSTIP:%HTTPPORT/1247 http://%HOSTIP:%HTTPPORT/1247
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
# Protocol "h1234" not supported or disabled in libcurl
<errorcode>
1
</errorcode>
</verify>
</testcase>