File: disable-test-rustc-too-old.patch

package info (click to toggle)
rust-serialport 4.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 844 kB
  • sloc: makefile: 2
file content (22 lines) | stat: -rw-r--r-- 740 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
Index: serialport/tests/test_file_locking.rs
===================================================================
--- serialport.orig/tests/test_file_locking.rs
+++ serialport/tests/test_file_locking.rs
@@ -66,7 +66,7 @@ fn second_open_fails_flock(hw_config: Ha
     assert_eq!(second.unwrap_err().kind(), ErrorKind::NoDevice);
 }
 
-#[rstest]
+/*#[rstest]
 #[cfg(unix)]
 #[cfg_attr(not(feature = "hardware-tests"), ignore)]
 fn second_open_fails_lock(hw_config: HardwareConfig) {
@@ -88,7 +88,7 @@ fn second_open_fails_lock(hw_config: Har
     let second = serialport::new(&hw_config.port_1, 115200).open();
     assert!(second.is_err());
     assert_eq!(second.unwrap_err().kind(), ErrorKind::NoDevice);
-}
+}*/
 
 #[rstest]
 #[cfg(unix)]