Skip to content

Commit 94be93c

Browse files
committed
one more netbsdlike
1 parent 746fa42 commit 94be93c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/test_unistd.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -404,10 +404,7 @@ cfg_if! {
404404
// https://github.com/nix-rust/nix/issues/555
405405
execve_test_factory!(test_execve, execve, CString::new("/bin/sh").unwrap().as_c_str());
406406
execve_test_factory!(test_fexecve, fexecve, File::open("/bin/sh").unwrap().into_raw_fd());
407-
} else if #[cfg(any(solarish,
408-
apple_targets,
409-
target_os = "netbsd",
410-
target_os = "openbsd"))] {
407+
} else if #[cfg(any(solarish, apple_targets, netbsdlike))] {
411408
execve_test_factory!(test_execve, execve, CString::new("/bin/sh").unwrap().as_c_str());
412409
// No fexecve() on ios, macos, NetBSD, OpenBSD.
413410
}

0 commit comments

Comments
 (0)