mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 16:45:49 +00:00
Added patch to correctly assert the state of https feature
This commit is contained in:
parent
61b8cb7621
commit
9264488d40
14
debian/patches/fix_https_test.patch
vendored
Normal file
14
debian/patches/fix_https_test.patch
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git a/tests/core/features.c b/tests/core/features.c
|
||||
index cf5e190..6d4273a 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
|
||||
|
||||
+#if defined(GIT_OPENSSL) || defined(GIT_WINHTTP) || defined(GIT_SECURE_TRANSPORT)
|
||||
cl_assert((caps & GIT_FEATURE_HTTPS) != 0);
|
||||
+#endif
|
||||
|
||||
#if defined(GIT_SSH)
|
||||
cl_assert((caps & GIT_FEATURE_SSH) != 0);
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -1 +1,2 @@
|
||||
disable_tests.patch
|
||||
fix_https_test.patch
|
Loading…
Reference in New Issue
Block a user