summaryrefslogtreecommitdiffstats
path: root/vendor/curl/debian/patches/disable-static-with-ftp-disabled-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/curl/debian/patches/disable-static-with-ftp-disabled-test.patch')
-rw-r--r--vendor/curl/debian/patches/disable-static-with-ftp-disabled-test.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/curl/debian/patches/disable-static-with-ftp-disabled-test.patch b/vendor/curl/debian/patches/disable-static-with-ftp-disabled-test.patch
new file mode 100644
index 0000000..85bc9f6
--- /dev/null
+++ b/vendor/curl/debian/patches/disable-static-with-ftp-disabled-test.patch
@@ -0,0 +1,18 @@
+Index: curl/tests/protocols.rs
+===================================================================
+--- curl.orig/tests/protocols.rs
++++ curl/tests/protocols.rs
+@@ -1,13 +1,3 @@
+-#[cfg(all(feature = "static-curl", not(feature = "protocol-ftp")))]
+-#[test]
+-fn static_with_ftp_disabled() {
+- assert!(curl::Version::get()
+- .protocols()
+- .filter(|&p| p == "ftp")
+- .next()
+- .is_none());
+-}
+-
+ #[cfg(all(feature = "static-curl", feature = "protocol-ftp"))]
+ #[test]
+ fn static_with_ftp_enabled() {