From f82bbe01c8835b8788c69f05362bb789766473cd Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 12 Nov 2016 14:19:29 +0100 Subject: 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 --- tests/data/test1247 | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 tests/data/test1247 (limited to 'tests/data/test1247') diff --git a/tests/data/test1247 b/tests/data/test1247 new file mode 100644 index 000000000..48c5ccdf4 --- /dev/null +++ b/tests/data/test1247 @@ -0,0 +1,38 @@ + + + +HTTP +--fail-early + + + +# +# Server-side + + + + + +# +# Client-side + + +none + + +--fail-early + + +--fail-early h1234://%HOSTIP:%HTTPPORT/1247 http://%HOSTIP:%HTTPPORT/1247 + + + +# +# Verify data after the test has been "shot" + +# Protocol "h1234" not supported or disabled in libcurl + +1 + + + -- cgit v1.2.3