1
0
mirror of https://github.com/moparisthebest/curl synced 2025-01-05 02:48:04 -05:00

test case 583: ensure that test failures don't go unnoticed - follow-up

This commit is contained in:
Yang Tse 2011-09-06 19:59:42 +02:00
parent 774ad4e31d
commit 6539047694

View File

@ -76,17 +76,18 @@ int test(char *URL)
} }
/* this tests if removing an easy handle immediately after multi /* this tests if removing an easy handle immediately after multi
perform has been called succeeds or not. Logged afterwards */ perform has been called succeeds or not. */
fprintf(stderr, "curl_multi_perform()...\n");
res1 = (int) curl_multi_perform(multiHandle, &stillRunning); res1 = (int) curl_multi_perform(multiHandle, &stillRunning);
res = (int) curl_multi_remove_handle(multiHandle, curl);
if(res1) if(res1)
fprintf(stderr, "curl_multi_perform() failed, " fprintf(stderr, "curl_multi_perform() failed, "
"with code %d\n", res1); "with code %d\n", res1);
else else
fprintf(stderr, "curl_multi_perform() succeeded\n"); fprintf(stderr, "curl_multi_perform() succeeded\n");
fprintf(stderr, "curl_multi_remove_handle()...\n");
res = (int) curl_multi_remove_handle(multiHandle, curl);
if(res) if(res)
fprintf(stderr, "curl_multi_remove_handle() failed, " fprintf(stderr, "curl_multi_remove_handle() failed, "
"with code %d\n", res); "with code %d\n", res);