diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:47:55 +0000 |
commit | 2aadc03ef15cb5ca5cc2af8a7c08e070742f0ac4 (patch) | |
tree | 033cc839730fda84ff08db877037977be94e5e3a /vendor/curl/debian/patches/disable-static-with-ftp-disabled-test.patch | |
parent | Initial commit. (diff) | |
download | cargo-upstream.tar.xz cargo-upstream.zip |
Adding upstream version 0.70.1+ds1.upstream/0.70.1+ds1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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.patch | 18 |
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() { |