]> granicus.if.org Git - curl/commitdiff
test case 583: ensure that test failures don't go unnoticed - follow-up
authorYang Tse <yangsita@gmail.com>
Tue, 6 Sep 2011 17:59:42 +0000 (19:59 +0200)
committerYang Tse <yangsita@gmail.com>
Tue, 6 Sep 2011 17:59:42 +0000 (19:59 +0200)
tests/libtest/lib583.c

index f6ac06fae6e75d496f95c18e9ae4e033f7df471d..6fac67d07d3f315a5781bbdf8f5cd54aaed2d590 100644 (file)
@@ -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);