From 9c22def6932fbc0e99b51054f637bf447b26797d Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 5 Sep 2021 18:51:47 +0200 Subject: [PATCH] cp: ignore test_no_preserve_mode & test_preserve_mode --- tests/by-util/test_cp.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/by-util/test_cp.rs b/tests/by-util/test_cp.rs index 08a9643ca..f126517fe 100644 --- a/tests/by-util/test_cp.rs +++ b/tests/by-util/test_cp.rs @@ -1309,7 +1309,7 @@ fn test_copy_symlink_force() { } #[test] -#[cfg(unix)] +#[cfg(all(unix, not(target_os = "freebsd")))] fn test_no_preserve_mode() { use std::os::unix::prelude::MetadataExt; @@ -1335,7 +1335,7 @@ fn test_no_preserve_mode() { } #[test] -#[cfg(unix)] +#[cfg(all(unix, not(target_os = "freebsd")))] fn test_preserve_mode() { use std::os::unix::prelude::MetadataExt;