From 43a71ff5e385a9af455b275736b520184f7fa00c Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Sat, 31 Aug 2019 19:58:57 -0600 Subject: Skip the aio_suspend test on Linux On Travis (and only on Travis) this test crashes. It hits an internal assertion within glibc. It happens reliably with rustc 1.37.0. Ignore the test until Travis updates its images; then we'll try again. Issue #1099 --- test/sys/test_aio.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/sys/test_aio.rs') diff --git a/test/sys/test_aio.rs b/test/sys/test_aio.rs index d4b09b0b..66a73fdc 100644 --- a/test/sys/test_aio.rs +++ b/test/sys/test_aio.rs @@ -133,6 +133,10 @@ fn test_fsync_error() { #[test] #[cfg_attr(all(target_env = "musl", target_arch = "x86_64"), ignore)] +// On Travis, aio_suspend hits an assertion within glibc. This is either a bug +// in Travis's version of glibc or Linux. Either way, we must skip the test. +// https://github.com/nix-rust/nix/issues/1099 +#[cfg_attr(target_os = "linux", ignore)] fn test_aio_suspend() { const INITIAL: &[u8] = b"abcdef123456"; const WBUF: &[u8] = b"CDEFG"; -- cgit v1.2.3