Skip to content

Commit aa40342

Browse files
committed
Skip test_double_close on i686-unknown-linux-musl
1 parent 2c4a4a7 commit aa40342

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/test_ptymaster_drop.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ use std::os::unix::io::AsRawFd;
1111
/// condition.
1212
#[test]
1313
#[should_panic(expected = "Closing an invalid file descriptor!")]
14+
// In Travis on i686-unknown-linux-musl, this test gets SIGABRT. I don't know
15+
// why. It doesn't happen on any other target, and it doesn't happen on my PC.
16+
#[cfg_attr(all(target_env = "musl", target_arch = "i686"), ignore)]
1417
fn test_double_close() {
1518
let m = posix_openpt(O_RDWR).unwrap();
1619
close(m.as_raw_fd()).unwrap();

0 commit comments

Comments
 (0)