Skip to content

Commit

Permalink
Test preadv and pwritev on more operating systems
Browse files Browse the repository at this point in the history
This was an oversight from PR nix-rust#1511
  • Loading branch information
asomers committed Dec 15, 2021
1 parent 87142d2 commit 3c52c56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/sys/test_uio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ fn test_pread() {
}

#[test]
#[cfg(target_os = "linux")]
#[cfg(not(target_os = "redox"))]
fn test_pwritev() {
use std::io::Read;

Expand Down Expand Up @@ -171,7 +171,7 @@ fn test_pwritev() {
}

#[test]
#[cfg(target_os = "linux")]
#[cfg(not(target_os = "redox"))]
fn test_preadv() {
use std::io::Write;

Expand Down

0 comments on commit 3c52c56

Please sign in to comment.