From 417319cc86e1bc7a89f6ab00443448a4d034c3bc Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Tue, 25 Apr 2017 10:14:37 +0200 Subject: [PATCH] tests: core::features: only check for HTTPS if it is supported --- tests/core/features.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/core/features.c b/tests/core/features.c index cf5e19063..7b28cc0cb 100644 --- a/tests/core/features.c +++ b/tests/core/features.c @@ -17,7 +17,9 @@ void test_core_features__0(void) cl_assert((caps & GIT_FEATURE_THREADS) == 0); #endif +#ifdef GIT_HTTPS cl_assert((caps & GIT_FEATURE_HTTPS) != 0); +#endif #if defined(GIT_SSH) cl_assert((caps & GIT_FEATURE_SSH) != 0);