mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 15:00:04 +00:00
caps: add test for GIT_FEATURES_NSEC
This commit is contained in:
parent
0269833f92
commit
2be7855727
@ -28,4 +28,10 @@ void test_core_features__0(void)
|
|||||||
#else
|
#else
|
||||||
cl_assert((caps & GIT_FEATURE_SSH) == 0);
|
cl_assert((caps & GIT_FEATURE_SSH) == 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(GIT_USE_NSEC)
|
||||||
|
cl_assert((caps & GIT_FEATURE_NSEC) != 0);
|
||||||
|
#else
|
||||||
|
cl_assert((caps & GIT_FEATURE_NSEC) == 0);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user