From bbdde2890a8b3ca2e9ea55a2a817ec34c1c3bca3 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Sun, 5 Nov 2023 14:19:43 +0100 Subject: [PATCH] du: ignore test under Android & FreeBSD --- tests/by-util/test_du.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/by-util/test_du.rs b/tests/by-util/test_du.rs index 7e6bc4775..fdb44ef53 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!());