curl/tests/data/test1513
Daniel Stenberg 62da1e7458 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.
2014-01-03 14:09:59 +01:00

40 lines
496 B
Plaintext

<testcase>
<info>
<keywords>
PROGRESSGFUNCTION
</keywords>
</info>
# Server-side
<reply>
</reply>
# Client-side
<client>
<server>
none
</server>
<tool>
lib1513
</tool>
<name>
return failure immediately from progress callback
</name>
# this server/host won't be used for real
<command>
http://localhost/1513
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
</protocol>
# 42 == CURLE_ABORTED_BY_CALLBACK
<errorcode>
42
</errorcode>
</verify>
</testcase>