summaryrefslogtreecommitdiff
path: root/test/sys/test_aio.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2020-12-14 19:37:53 -0700
committerAlan Somers <asomers@gmail.com>2020-12-14 19:37:53 -0700
commitd87e6b28202ce9b3e2bebd1ba93e3df1f1e9fef6 (patch)
tree2fa666a831de4dc2754727ef80935486d678762b /test/sys/test_aio.rs
parent668384e94fbccbdc651a094c74cf03cbf801848d (diff)
downloadnix-d87e6b28202ce9b3e2bebd1ba93e3df1f1e9fef6.zip
Ignore failures of test_aio_suspend on macos
On Cirrus-CI, this test frequently fails with EINVAL. The error goes away if I add a line of debugging, so it's probably a timing issue. But I can't debug it myself. Issue #1361
Diffstat (limited to 'test/sys/test_aio.rs')
-rw-r--r--test/sys/test_aio.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/sys/test_aio.rs b/test/sys/test_aio.rs
index 37ad3257..3878da94 100644
--- a/test/sys/test_aio.rs
+++ b/test/sys/test_aio.rs
@@ -137,6 +137,9 @@ fn test_fsync_error() {
// 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)]
+// On Cirrus, aio_suspend is failing with EINVAL
+// https://github.com/nix-rust/nix/issues/1361
+#[cfg_attr(target_os = "macos", ignore)]
fn test_aio_suspend() {
const INITIAL: &[u8] = b"abcdef123456";
const WBUF: &[u8] = b"CDEFG";