diff options
Diffstat (limited to 'tests/server-auth-test.c')
-rw-r--r-- | tests/server-auth-test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/server-auth-test.c b/tests/server-auth-test.c index 34c297bc..dd92f1a6 100644 --- a/tests/server-auth-test.c +++ b/tests/server-auth-test.c @@ -109,10 +109,10 @@ do_server_auth_test (gconstpointer data) { int i = GPOINTER_TO_INT (data); -#ifndef HAVE_CURL - g_test_skip ("/usr/bin/curl is not available"); - return; -#endif + if (!have_curl()) { + g_test_skip ("curl is not available"); + return; + } /* 1. No auth required. The server will ignore the * Authorization headers completely, and the request |