aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_get_sendfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_get_sendfile.c')
-rw-r--r--src/testcurl/test_get_sendfile.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/testcurl/test_get_sendfile.c b/src/testcurl/test_get_sendfile.c
index c7e94945..3d820fc8 100644
--- a/src/testcurl/test_get_sendfile.c
+++ b/src/testcurl/test_get_sendfile.c
@@ -603,11 +603,14 @@ main (int argc, char *const *argv)
603 fclose (f); 603 fclose (f);
604 if (0 != curl_global_init (CURL_GLOBAL_WIN32)) 604 if (0 != curl_global_init (CURL_GLOBAL_WIN32))
605 return 2; 605 return 2;
606 errorCount += testInternalGet (); 606 if (MHD_YES == MHD_is_feature_supported(MHD_FEATURE_THREADS))
607 errorCount += testMultithreadedGet (); 607 {
608 errorCount += testMultithreadedPoolGet (); 608 errorCount += testInternalGet ();
609 errorCount += testMultithreadedGet ();
610 errorCount += testMultithreadedPoolGet ();
611 errorCount += testUnknownPortGet ();
612 }
609 errorCount += testExternalGet (); 613 errorCount += testExternalGet ();
610 errorCount += testUnknownPortGet ();
611 if (errorCount != 0) 614 if (errorCount != 0)
612 fprintf (stderr, "Error (code: %u)\n", errorCount); 615 fprintf (stderr, "Error (code: %u)\n", errorCount);
613 curl_global_cleanup (); 616 curl_global_cleanup ();