Skip to content

Commit

Permalink
test: skip test_utun_ifname if unpriviledged
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC committed Apr 13, 2024
1 parent 95d1285 commit f90e612
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/sys/test_sockopt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit f90e612

Please sign in to comment.