summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/sys/test_sockopt.rs3
-rw-r--r--test/test_fcntl.rs4
2 files changed, 3 insertions, 4 deletions
diff --git a/test/sys/test_sockopt.rs b/test/sys/test_sockopt.rs
index 4f75e178..a17bc09f 100644
--- a/test/sys/test_sockopt.rs
+++ b/test/sys/test_sockopt.rs
@@ -170,8 +170,7 @@ fn test_so_tcp_keepalive() {
#[cfg(any(target_os = "android",
target_os = "dragonfly",
target_os = "freebsd",
- target_os = "linux",
- target_os = "nacl"))] {
+ target_os = "linux"))] {
let x = getsockopt(fd, sockopt::TcpKeepIdle).unwrap();
setsockopt(fd, sockopt::TcpKeepIdle, &(x + 1)).unwrap();
assert_eq!(getsockopt(fd, sockopt::TcpKeepIdle).unwrap(), x + 1);
diff --git a/test/test_fcntl.rs b/test/test_fcntl.rs
index ebfc43e2..5f2e53bd 100644
--- a/test/test_fcntl.rs
+++ b/test/test_fcntl.rs
@@ -462,7 +462,7 @@ mod linux_android {
target_os = "android",
target_os = "emscripten",
target_os = "fuchsia",
- any(target_os = "wasi", target_env = "wasi"),
+ target_os = "wasi",
target_env = "uclibc",
target_os = "freebsd"))]
mod test_posix_fadvise {
@@ -495,7 +495,7 @@ mod test_posix_fadvise {
target_os = "dragonfly",
target_os = "emscripten",
target_os = "fuchsia",
- any(target_os = "wasi", target_env = "wasi"),
+ target_os = "wasi",
target_os = "freebsd"))]
mod test_posix_fallocate {