mirror of
https://github.com/curl/curl.git
synced 2026-08-24 16:33:33 +03:00
test case 583: ensure that test failures don't go unnoticed - follow-up
This commit is contained in:
parent
774ad4e31d
commit
6539047694
1 changed files with 5 additions and 4 deletions
|
|
@ -76,17 +76,18 @@ int test(char *URL)
|
|||
}
|
||||
|
||||
/* this tests if removing an easy handle immediately after multi
|
||||
perform has been called succeeds or not. Logged afterwards */
|
||||
|
||||
res1 = (int) curl_multi_perform(multiHandle, &stillRunning);
|
||||
res = (int) curl_multi_remove_handle(multiHandle, curl);
|
||||
perform has been called succeeds or not. */
|
||||
|
||||
fprintf(stderr, "curl_multi_perform()...\n");
|
||||
res1 = (int) curl_multi_perform(multiHandle, &stillRunning);
|
||||
if(res1)
|
||||
fprintf(stderr, "curl_multi_perform() failed, "
|
||||
"with code %d\n", res1);
|
||||
else
|
||||
fprintf(stderr, "curl_multi_perform() succeeded\n");
|
||||
|
||||
fprintf(stderr, "curl_multi_remove_handle()...\n");
|
||||
res = (int) curl_multi_remove_handle(multiHandle, curl);
|
||||
if(res)
|
||||
fprintf(stderr, "curl_multi_remove_handle() failed, "
|
||||
"with code %d\n", res);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue