Skip to content

Commit 4abf7f4

Browse files
committed
one more netbsdlike
1 parent 2e7a140 commit 4abf7f4

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
@@ -435,10 +435,7 @@ cfg_if! {
435435
// https://github.com/nix-rust/nix/issues/555
436436
execve_test_factory!(test_execve, execve, CString::new("/bin/sh").unwrap().as_c_str());
437437
execve_test_factory!(test_fexecve, fexecve, File::open("/bin/sh").unwrap().into_raw_fd());
438-
} else if #[cfg(any(solarish,
439-
apple_targets,
440-
target_os = "netbsd",
441-
target_os = "openbsd"))] {
438+
} else if #[cfg(any(solarish, apple_targets, netbsdlike))] {
442439
execve_test_factory!(test_execve, execve, CString::new("/bin/sh").unwrap().as_c_str());
443440
// No fexecve() on ios, macos, NetBSD, OpenBSD.
444441
}

0 commit comments

Comments
 (0)