62da1e7458
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.
40 lines
496 B
Plaintext
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>
|