summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2023-01-15 22:41:33 +0100
committerArmin Ronacher <armin.ronacher@active-4.com>2023-01-15 22:41:33 +0100
commit960199daf9f395096b08dc24aa0337cb5b93da81 (patch)
treef5f235c997701fa0a6930ef6556948e5b4402970 /test
parent34788b179b14b5c5c8e7bb7df168089fc854c499 (diff)
downloadnix-960199daf9f395096b08dc24aa0337cb5b93da81.zip
Try enabling LocalPeerPid for ios
Diffstat (limited to 'test')
-rw-r--r--test/sys/test_sockopt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sys/test_sockopt.rs b/test/sys/test_sockopt.rs
index bf791688..a498bdfa 100644
--- a/test/sys/test_sockopt.rs
+++ b/test/sys/test_sockopt.rs
@@ -54,7 +54,7 @@ pub fn test_local_peercred_stream() {
assert_eq!(Gid::from_raw(xucred.groups()[0]), Gid::current());
}
-#[cfg(target_os = "macos")]
+#[cfg(any(target_os = "ios", target_os = "macos"))]
#[test]
pub fn test_local_peer_pid() {
use nix::sys::socket::socketpair;