Remove the flaky `test_erroneous_read` test.
@@ -141,17 +141,6 @@ mod tests {
assert_eq!(tx, &rx);
}
- #[test]
- fn test_erroneus_read() {
- let fd = {
- let (reader, _) = os_pipe::pipe().unwrap();
- reader.as_raw_fd()
- };
-
- let mut rx = [0u8; 4];
- assert!(read(fd, &mut rx).is_err());
- }
-
#[test]
fn test_erroneus_write() {
let fd = {
