diff --git a/tests/tests.rs b/tests/tests.rs index 8d0f093..eb24472 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -1949,7 +1949,7 @@ fn test_owner_current_group() { } } -#[cfg(unix)] +#[cfg(target_os = "linux")] #[test] fn test_owner_root() { // This test assumes the current user isn't root