Skip to content

Commit

Permalink
one more netbsdlike
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC committed Nov 27, 2023
1 parent 746fa42 commit 94be93c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/test_unistd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,10 +404,7 @@ cfg_if! {
// https://github.com/nix-rust/nix/issues/555
execve_test_factory!(test_execve, execve, CString::new("/bin/sh").unwrap().as_c_str());
execve_test_factory!(test_fexecve, fexecve, File::open("/bin/sh").unwrap().into_raw_fd());
} else if #[cfg(any(solarish,
apple_targets,
target_os = "netbsd",
target_os = "openbsd"))] {
} else if #[cfg(any(solarish, apple_targets, netbsdlike))] {
execve_test_factory!(test_execve, execve, CString::new("/bin/sh").unwrap().as_c_str());
// No fexecve() on ios, macos, NetBSD, OpenBSD.
}
Expand Down

0 comments on commit 94be93c

Please sign in to comment.