summaryrefslogtreecommitdiff
path: root/test/sys/test_select.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test/sys/test_select.rs')
-rw-r--r--test/sys/test_select.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/sys/test_select.rs b/test/sys/test_select.rs
index 53990f65..46083ffa 100644
--- a/test/sys/test_select.rs
+++ b/test/sys/test_select.rs
@@ -31,7 +31,14 @@ fn test_fdset() {
}
}
+// powerpc-unknown-linux-gnu currently fails on the first `assert_eq` because
+// `select()` returns a 0 instead of a 1. Since this test has only been run on
+// qemu, it's unclear if this is a OS or qemu bug. Just disable it on that arch
+// for now.
+// FIXME: Fix tests for powerpc
+// FIXME: Add a link to an upstream qemu bug if there is one
#[test]
+#[cfg_attr(target_arch = "powerpc", ignore)]
fn test_select() {
let (r1, w1) = pipe().unwrap();
write(w1, b"hi!").unwrap();