File: skip-tests-prone-to-hang.diff

package info (click to toggle)
rust-nix 0.30.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,252 kB
  • sloc: ansic: 18; makefile: 7
file content (36 lines) | stat: -rw-r--r-- 966 bytes parent folder | download | duplicates (3)
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
34
35
36
Index: nix/test/test_unistd.rs
===================================================================
--- nix.orig/test/test_unistd.rs
+++ nix/test/test_unistd.rs
@@ -411,11 +411,11 @@ macro_rules! execve_test_factory (
 
     // These tests frequently fail on musl, probably due to
         // https://github.com/nix-rust/nix/issues/555
-    #[cfg_attr(target_env = "musl", ignore)]
+    /*#[cfg_attr(target_env = "musl", ignore)]
     #[test]
     fn test_cstr_ref() {
         common_test(syscall_cstr_ref);
-    }
+    }*/
 
     // These tests frequently fail on musl, probably due to
         // https://github.com/nix-rust/nix/issues/555
@@ -629,7 +629,7 @@ cfg_if! {
     }
 }
 
-#[test]
+/*#[test]
 #[cfg(not(any(
     target_os = "redox",
     target_os = "fuchsia",
@@ -657,7 +657,7 @@ fn test_acct() {
         thread::sleep(time::Duration::from_millis(10));
     }
     acct::disable().unwrap();
-}
+}*/
 
 #[cfg_attr(target_os = "hurd", ignore)]
 #[test]