diff --git a/test/sys/test_aio.rs b/test/sys/test_aio.rs index d4b09b0b81..d985adfc8a 100644 --- a/test/sys/test_aio.rs +++ b/test/sys/test_aio.rs @@ -134,6 +134,12 @@ fn test_fsync_error() { #[test] #[cfg_attr(all(target_env = "musl", target_arch = "x86_64"), ignore)] fn test_aio_suspend() { + // Glibc's aio_suspend implementation isn't async-signal-safe, and it causes + // assertions (within glibc) on Travis. + // https://sourceware.org/bugzilla/show_bug.cgi?id=13172 + #[cfg(target_env = "glibc")] + let _m = ::SIGNAL_MTX.lock().expect("Mutex got poisoned by another test"); + const INITIAL: &[u8] = b"abcdef123456"; const WBUF: &[u8] = b"CDEFG"; let timeout = TimeSpec::seconds(10);