summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2021-11-16 17:21:07 -0700
committerAlan Somers <asomers@gmail.com>2021-12-14 20:47:29 -0700
commit3c52c56e12e60839cfd524bb72d9da65eb9c7d55 (patch)
treed271af583c608121a3a769b5aa1f3c7d23f57ef5
parent87142d2b393762b9c76bab960fe7cd660dc82021 (diff)
downloadnix-3c52c56e12e60839cfd524bb72d9da65eb9c7d55.zip
Test preadv and pwritev on more operating systems
This was an oversight from PR #1511
-rw-r--r--test/sys/test_uio.rs4
1 files 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;