From 2be7855727acf829de989f92a8f97a31ec3a378a Mon Sep 17 00:00:00 2001 From: Axel Rasmussen Date: Tue, 2 Jun 2015 12:45:30 -0600 Subject: [PATCH] caps: add test for GIT_FEATURES_NSEC --- tests/core/features.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/core/features.c b/tests/core/features.c index 5eeb05e81..85cddfeff 100644 --- a/tests/core/features.c +++ b/tests/core/features.c @@ -28,4 +28,10 @@ void test_core_features__0(void) #else cl_assert((caps & GIT_FEATURE_SSH) == 0); #endif + +#if defined(GIT_USE_NSEC) + cl_assert((caps & GIT_FEATURE_NSEC) != 0); +#else + cl_assert((caps & GIT_FEATURE_NSEC) == 0); +#endif }