summaryrefslogtreecommitdiff
path: root/test/sys
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2020-11-28 15:12:43 -0700
committerAlan Somers <asomers@gmail.com>2020-11-28 15:16:52 -0700
commit4ff5595a1b1dbf06194144a128c5db70b2cf7491 (patch)
treec0e7035a3195e145992cefd9f2af2ca6db0449e1 /test/sys
parent1794a471483800e0a6be0a7aac1165e916b16797 (diff)
downloadnix-4ff5595a1b1dbf06194144a128c5db70b2cf7491.zip
Disable test-aio-drop in GNU environments
This test occasionally fails in Travis on x86_64-unknown-linux-gnu. The failure takes the form of the test executable receiving a random signal. Sometimes SIGHUP, sometimes SIGKILL, etc. I think this must be a bug in glibc, even though I can't reproduce it in my development environment. But it interferes with CI too much to leave enabled.
Diffstat (limited to 'test/sys')
-rw-r--r--test/sys/test_aio_drop.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/sys/test_aio_drop.rs b/test/sys/test_aio_drop.rs
index 71a2183b..784ee3ef 100644
--- a/test/sys/test_aio_drop.rs
+++ b/test/sys/test_aio_drop.rs
@@ -9,6 +9,7 @@
target_os = "macos",
target_os = "freebsd",
target_os = "netbsd")))]
+#[cfg_attr(target_env = "gnu", ignore = "Occasionally fails in Travis; glibc bug suspected")]
fn test_drop() {
use nix::sys::aio::*;
use nix::sys::signal::*;