From 858b2a5b9910368e9e00c6b6e5c027bdafbce3a3 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Tue, 4 Oct 2022 17:24:06 +0200 Subject: [PATCH] disable the new tests --- tests/by-util/test_test.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/by-util/test_test.rs b/tests/by-util/test_test.rs index 54ee03985..9a5186302 100644 --- a/tests/by-util/test_test.rs +++ b/tests/by-util/test_test.rs @@ -341,7 +341,7 @@ fn test_file_is_itself() { } #[test] -#[cfg(not(target_env = "musl"))] +#[cfg(not(any(target_env = "musl", target_os = "android")))] fn test_file_is_newer_than_and_older_than_itself() { // odd but matches GNU new_ucmd!() @@ -388,7 +388,7 @@ fn test_same_device_inode() { } #[test] -#[cfg(not(target_env = "musl"))] +#[cfg(not(any(target_env = "musl", target_os = "android")))] // musl: creation time is not available on this platform currently fn test_newer_file() { let scenario = TestScenario::new(util_name!());