diff --git a/test/sys/test_sockopt.rs b/test/sys/test_sockopt.rs index 427edf24e0..1da3f6af38 100644 --- a/test/sys/test_sockopt.rs +++ b/test/sys/test_sockopt.rs @@ -832,6 +832,8 @@ fn test_ktls() { #[test] #[cfg(apple_targets)] fn test_utun_ifname() { + skip_if_not_root!("test_utun_ifname"); + use nix::sys::socket::connect; use nix::sys::socket::SysControlAddr;