Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Rasmussen <axelrasmussen@google.com>2015-06-02 21:45:30 +0300
committerAxel Rasmussen <axelrasmussen@google.com>2015-09-19 09:33:56 +0300
commit2be7855727acf829de989f92a8f97a31ec3a378a (patch)
tree8721f664e656fd021a044fa9d81c6b7989298c2f /tests/core
parent0269833f92149a50f2eb522af8ef6481a4f17ac4 (diff)
caps: add test for GIT_FEATURES_NSEC
Diffstat (limited to 'tests/core')
-rw-r--r--tests/core/features.c6
1 files changed, 6 insertions, 0 deletions
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
}