Skip to content

Commit bd857cc

Browse files
committed
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
1 parent 18b6bd6 commit bd857cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/sys/test_aio.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ fn test_fsync_error() {
133133

134134
#[test]
135135
#[cfg_attr(all(target_env = "musl", target_arch = "x86_64"), ignore)]
136+
// On Travis, aio_suspend hits an assertion within glibc. This is either a bug
137+
// in Travis's version of glibc or Linux. Either way, we must skip the test.
138+
// https://github.com/nix-rust/nix/issues/1099
139+
#[cfg_attr(target_os = "linux", ignore)]
136140
fn test_aio_suspend() {
137141
const INITIAL: &[u8] = b"abcdef123456";
138142
const WBUF: &[u8] = b"CDEFG";

0 commit comments

Comments
 (0)