diff --git a/tests/by-util/test_du.rs b/tests/by-util/test_du.rs index 7e6bc47756a..fdb44ef536a 100644 --- a/tests/by-util/test_du.rs +++ b/tests/by-util/test_du.rs @@ -336,7 +336,7 @@ fn _du_dereference(s: &str) { } } -#[cfg(not(windows))] +#[cfg(not(any(target_os = "windows", target_os = "android", target_os = "freebsd")))] #[test] fn test_du_no_dereference() { let ts = TestScenario::new(util_name!());