summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2023-06-06 01:03:32 +0000
committerGitHub <noreply@github.com>2023-06-06 01:03:32 +0000
commit89b4976fddf713ca54834612e351ae35d86c430a (patch)
tree4a50c3e22a2d3b302b07d9045572bb251386d8cb /test
parentc6f9e2332efcf62c751d7a0174bb791e732b90a8 (diff)
parent57cdbed0ab9077e33d48c1b7a6f44b5cc0e67cbd (diff)
downloadnix-89b4976fddf713ca54834612e351ae35d86c430a.zip
Merge #2052
2052: Fix CI with the latest rustup r=asomers a=asomers Co-authored-by: Alan Somers <asomers@gmail.com> Co-authored-by: Ben Kimock <kimockb@gmail.com>
Diffstat (limited to 'test')
-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 0a8d0544..9fb7e89a 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() {
@@ -2082,7 +2082,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::*;
@@ -2137,7 +2137,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::*;