I think we can assume curl on all platforms for tests.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4718 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2023-12-31 03:24:20 +00:00
parent 2d73116bc0
commit 93d9b1ed93

View File

@ -683,7 +683,6 @@ static void _test_http_async(uv_async_t* async)
static void _test_http_thread(void* data) static void _test_http_thread(void* data)
{ {
#if defined(__linux__)
test_http_t* test = data; test_http_t* test = data;
int r = system("curl -v http://localhost:23456/404"); int r = system("curl -v http://localhost:23456/404");
assert(WEXITSTATUS(r) == 0); assert(WEXITSTATUS(r) == 0);
@ -705,7 +704,6 @@ static void _test_http_thread(void* data)
/* All to wake up the loop. */ /* All to wake up the loop. */
uv_async_send(&test->async); uv_async_send(&test->async);
#endif
} }
static void _test_http_handler(tf_http_request_t* request) static void _test_http_handler(tf_http_request_t* request)