From 8489e9b69c8a4ac500e53572107006d97b7e1ce4 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 17 Dec 2022 16:54:08 +0100 Subject: [PATCH] Ignore some cp tests on android Closes: #4233 --- tests/by-util/test_cp.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/by-util/test_cp.rs b/tests/by-util/test_cp.rs index b0a3e6931..4406f5997 100644 --- a/tests/by-util/test_cp.rs +++ b/tests/by-util/test_cp.rs @@ -2385,6 +2385,7 @@ fn test_reflink_never_sparse_always() { /// Test for preserving attributes of a hard link in a directory. #[test] +#[cfg(not(target_os = "android"))] fn test_preserve_hardlink_attributes_in_directory() { let (at, mut ucmd) = at_and_ucmd!(); @@ -2413,7 +2414,7 @@ fn test_preserve_hardlink_attributes_in_directory() { } #[test] -#[cfg(not(windows))] +#[cfg(not(any(windows, target_os = "android")))] fn test_hard_link_file() { let (at, mut ucmd) = at_and_ucmd!(); at.touch("src");