File: disable-test-requiring-bin.patch

package info (click to toggle)
rust-os-pipe 1.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 208 kB
  • sloc: makefile: 4
file content (22 lines) | stat: -rw-r--r-- 673 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/src/lib.rs b/src/lib.rs
index 04c4226..358b2e0 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -370,7 +370,7 @@ mod tests {
         assert_eq!(out, data);
     }
 
-    #[test]
+    //#[test]
     fn test_pipes_are_not_inheritable() {
         // Create pipes for a child process.
         let (input_reader, mut input_writer) = crate::pipe().unwrap();
@@ -417,7 +417,7 @@ mod tests {
         assert_eq!(b"hello", &*output);
     }
 
-    #[test]
+    //#[test]
     fn test_parent_handles() {
         // This test invokes the `swap` test program, which uses parent_stdout() and
         // parent_stderr() to swap the outputs for another child that it spawns.