summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorF1rst-Unicorn <f1rst_unicorn@njsm.de>2018-11-18 11:38:26 +0100
committerF1rst-Unicorn <f1rst_unicorn@njsm.de>2018-11-19 09:33:37 +0100
commit35c0d6344a7abeb27c4b43785d9824afd81ac3f1 (patch)
tree5727397bf8f765d07714572687af9445d9e75057 /test
parent3f9548a88833701559f13eeb10df59dd49643ffd (diff)
downloadnix-35c0d6344a7abeb27c4b43785d9824afd81ac3f1.zip
Add execvpe support, conditional on platform
Diffstat (limited to 'test')
-rw-r--r--test/test_unistd.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_unistd.rs b/test/test_unistd.rs
index 52eb365c..b03e8853 100644
--- a/test/test_unistd.rs
+++ b/test/test_unistd.rs
@@ -243,6 +243,9 @@ cfg_if!{
}
}
+#[cfg(any(target_os = "haiku", target_os = "linux", target_os = "openbsd"))]
+execve_test_factory!(test_execvpe, execvpe, &CString::new("sh").unwrap());
+
cfg_if!{
if #[cfg(target_os = "android")] {
use nix::fcntl::AtFlags;