summaryrefslogtreecommitdiff
path: root/test/sys/test_aio.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2019-08-31 19:58:57 -0600
committerAlan Somers <asomers@gmail.com>2019-09-03 16:25:41 -0600
commit43a71ff5e385a9af455b275736b520184f7fa00c (patch)
tree7b9854e489e377e19df86e696a79c48343a2647f /test/sys/test_aio.rs
parenteba3b516f7f76465e2fbe1c16724786144f01e8e (diff)
downloadnix-43a71ff5e385a9af455b275736b520184f7fa00c.zip
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
Diffstat (limited to 'test/sys/test_aio.rs')
-rw-r--r--test/sys/test_aio.rs4
1 files changed, 4 insertions, 0 deletions
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";