From 62da1e7458ce98479ddbfd259f0b3675b6f0b84c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 3 Jan 2014 12:25:09 +0100 Subject: test1513: added - verify early progress callback return fail Verify the change brought in commit 8e11731653061. It makes sure that returning a failure from the progress callback even very early results in the correct return code. --- tests/data/test1513 | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 tests/data/test1513 (limited to 'tests/data/test1513') diff --git a/tests/data/test1513 b/tests/data/test1513 new file mode 100644 index 000000000..9d0e117bd --- /dev/null +++ b/tests/data/test1513 @@ -0,0 +1,39 @@ + + + +PROGRESSGFUNCTION + + + +# Server-side + + + +# Client-side + + +none + + +lib1513 + + +return failure immediately from progress callback + + +# this server/host won't be used for real + +http://localhost/1513 + + + +# Verify data after the test has been "shot" + + + +# 42 == CURLE_ABORTED_BY_CALLBACK + +42 + + + -- cgit v1.2.3