Skip to content

Commit 3c0b74b

Browse files
committed
unistd: Also disable initgroups test on Apple platforms
1 parent d998b04 commit 3c0b74b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_unistd.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ fn test_setgroups() {
127127
}
128128

129129
#[test]
130+
#[cfg(not(any(target_os = "ios", target_os = "macos")))]
130131
fn test_initgroups() {
131132
if !Uid::current().is_root() {
132133
// initrgroups(), setgroups() require root

0 commit comments

Comments
 (0)