summaryrefslogtreecommitdiff
path: root/test/sys/test_socket.rs
diff options
context:
space:
mode:
authorJarred Allen <jarred@moveparallel.com>2023-07-17 11:34:00 -0700
committerJarred Allen <jarred@moveparallel.com>2023-07-17 11:34:00 -0700
commit23125cbb1b3e5606513de48ffc62bff58fc135e8 (patch)
tree9b53d6c6b42663257cd32810fc3c28d30e575bc3 /test/sys/test_socket.rs
parent012e788adcd8a41bdb028b5a6dc6dd1738dd2f9c (diff)
parentc3e6e6a14244d68a9715ff75dc844d6c856049b9 (diff)
downloadnix-23125cbb1b3e5606513de48ffc62bff58fc135e8.zip
Merge branch 'master' into set-sockaddr-length-linux
Diffstat (limited to 'test/sys/test_socket.rs')
-rw-r--r--test/sys/test_socket.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sys/test_socket.rs b/test/sys/test_socket.rs
index 125edceb..ad7b457e 100644
--- a/test/sys/test_socket.rs
+++ b/test/sys/test_socket.rs
@@ -10,7 +10,7 @@ use std::path::Path;
use std::slice;
use std::str::FromStr;
-#[cfg(any(target_os = "linux"))]
+#[cfg(target_os = "linux")]
#[cfg_attr(qemu, ignore)]
#[test]
pub fn test_timestamping() {
@@ -2125,7 +2125,7 @@ pub fn test_vsock() {
// Disable the test on emulated platforms because it fails in Cirrus-CI. Lack
// of QEMU support is suspected.
#[cfg_attr(qemu, ignore)]
-#[cfg(all(target_os = "linux"))]
+#[cfg(target_os = "linux")]
#[test]
fn test_recvmsg_timestampns() {
use nix::sys::socket::*;
@@ -2180,7 +2180,7 @@ fn test_recvmsg_timestampns() {
// Disable the test on emulated platforms because it fails in Cirrus-CI. Lack
// of QEMU support is suspected.
#[cfg_attr(qemu, ignore)]
-#[cfg(all(target_os = "linux"))]
+#[cfg(target_os = "linux")]
#[test]
fn test_recvmmsg_timestampns() {
use nix::sys::socket::*;