Skip to content

Commit f90e612

Browse files
committed
test: skip test_utun_ifname if unpriviledged
1 parent 95d1285 commit f90e612

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/sys/test_sockopt.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,8 @@ fn test_ktls() {
832832
#[test]
833833
#[cfg(apple_targets)]
834834
fn test_utun_ifname() {
835+
skip_if_not_root!("test_utun_ifname");
836+
835837
use nix::sys::socket::connect;
836838
use nix::sys::socket::SysControlAddr;
837839

0 commit comments

Comments
 (0)