summaryrefslogtreecommitdiff
path: root/test/sys
diff options
context:
space:
mode:
Diffstat (limited to 'test/sys')
-rw-r--r--test/sys/mod.rs8
-rw-r--r--test/sys/test_uio.rs4
-rw-r--r--test/sys/test_wait.rs5
3 files changed, 9 insertions, 8 deletions
diff --git a/test/sys/mod.rs b/test/sys/mod.rs
index 91c0aae7..768d4d30 100644
--- a/test/sys/mod.rs
+++ b/test/sys/mod.rs
@@ -15,17 +15,17 @@ mod test_aio;
mod test_mman;
#[cfg(target_os = "linux")]
mod test_signalfd;
-#[cfg(not(target_os = "redox"))]
+#[cfg(not(any(target_os = "redox", target_os = "haiku")))]
mod test_socket;
-#[cfg(not(target_os = "redox"))]
+#[cfg(not(any(target_os = "redox")))]
mod test_sockopt;
#[cfg(not(target_os = "redox"))]
mod test_select;
#[cfg(any(target_os = "android", target_os = "linux"))]
mod test_sysinfo;
-#[cfg(not(any(target_os = "redox", target_os = "fuchsia")))]
+#[cfg(not(any(target_os = "redox", target_os = "fuchsia", target_os = "haiku")))]
mod test_termios;
-#[cfg(not(any(target_os = "redox", target_os = "fuchsia")))]
+#[cfg(not(any(target_os = "redox", target_os = "fuchsia", target_os = "haiku")))]
mod test_ioctl;
mod test_wait;
mod test_uio;
diff --git a/test/sys/test_uio.rs b/test/sys/test_uio.rs
index 7dd12a21..847381f1 100644
--- a/test/sys/test_uio.rs
+++ b/test/sys/test_uio.rs
@@ -145,7 +145,7 @@ fn test_pread() {
}
#[test]
-#[cfg(not(target_os = "redox"))]
+#[cfg(not(any(target_os = "redox", target_os = "haiku")))]
fn test_pwritev() {
use std::io::Read;
@@ -175,7 +175,7 @@ fn test_pwritev() {
}
#[test]
-#[cfg(not(target_os = "redox"))]
+#[cfg(not(any(target_os = "redox", target_os = "haiku")))]
fn test_preadv() {
use std::io::Write;
diff --git a/test/sys/test_wait.rs b/test/sys/test_wait.rs
index 90d9fcf5..058573a1 100644
--- a/test/sys/test_wait.rs
+++ b/test/sys/test_wait.rs
@@ -6,7 +6,7 @@ use nix::sys::wait::*;
use libc::_exit;
#[test]
-#[cfg(not(target_os = "redox"))]
+#[cfg(not(any(target_os = "redox", target_os = "haiku")))]
fn test_wait_signal() {
let _m = crate::FORK_MTX.lock();
@@ -27,7 +27,7 @@ fn test_wait_signal() {
#[cfg(any(
target_os = "android",
target_os = "freebsd",
- target_os = "haiku",
+ //target_os = "haiku",
all(target_os = "linux", not(target_env = "uclibc")),
))]
#[cfg(not(any(target_arch = "mips", target_arch = "mips64")))]
@@ -63,6 +63,7 @@ fn test_wait_exit() {
}
}
+#[cfg(not(target_os = "haiku"))]
#[test]
#[cfg(any(
target_os = "android",