From 3c52c56e12e60839cfd524bb72d9da65eb9c7d55 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Tue, 16 Nov 2021 17:21:07 -0700 Subject: Test preadv and pwritev on more operating systems This was an oversight from PR #1511 --- test/sys/test_uio.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/sys/test_uio.rs b/test/sys/test_uio.rs index 408537c8..c63b5810 100644 --- a/test/sys/test_uio.rs +++ b/test/sys/test_uio.rs @@ -141,7 +141,7 @@ fn test_pread() { } #[test] -#[cfg(target_os = "linux")] +#[cfg(not(target_os = "redox"))] fn test_pwritev() { use std::io::Read; @@ -171,7 +171,7 @@ fn test_pwritev() { } #[test] -#[cfg(target_os = "linux")] +#[cfg(not(target_os = "redox"))] fn test_preadv() { use std::io::Write; -- cgit v1.2.3