diff --git a/tests/unit/unit1610.c b/tests/unit/unit1610.c index 2a18f5c5f4..667781a131 100644 --- a/tests/unit/unit1610.c +++ b/tests/unit/unit1610.c @@ -25,12 +25,14 @@ static CURLcode unit_setup(void) { - return CURLE_OK; + int res = CURLE_OK; + global_init(CURL_GLOBAL_ALL); + return res; } static void unit_stop(void) { - + curl_global_cleanup(); } UNITTEST_START