File: 2004_tests_broken.patch

package info (click to toggle)
rust-hyper-rustls-0.24 0.24.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 348 kB
  • sloc: sh: 47; makefile: 2
file content (33 lines) | stat: -rw-r--r-- 713 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Description: omit failing tests
 Requires profile debug.
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2023-08-14
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/tests/tests.rs
+++ b/tests/tests.rs
@@ -33,6 +33,7 @@
 }
 
 #[test]
+#[cfg(feature = "broken_test")]
 fn client() {
     let rc = client_command()
         .arg("https://google.com")
@@ -44,6 +45,7 @@
 
 #[cfg(feature = "acceptor")]
 #[test]
+#[cfg(feature = "broken_test")]
 fn server() {
     let mut srv = server_command()
         .arg("1337")
@@ -76,6 +78,7 @@
 }
 
 #[test]
+#[cfg(feature = "broken_test")]
 fn custom_ca_store() {
     let mut srv = server_command()
         .arg("1338")