From 9df50096c867ba182d4b0c1b2b520ea9dd4c5a86 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Wed, 25 Oct 2023 10:15:46 +0200 Subject: [PATCH] cp: remove "all" from cfg; rename test fn --- 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 71c3eafb0..a4922f93f 100644 --- a/tests/by-util/test_cp.rs +++ b/tests/by-util/test_cp.rs @@ -1552,8 +1552,8 @@ fn test_cp_preserve_links_case_7() { } #[test] -#[cfg(all(unix))] -fn test_cp_no_preserve_mode_case() { +#[cfg(unix)] +fn test_cp_no_preserve_mode() { use libc::umask; use uucore::fs as uufs; let (at, mut ucmd) = at_and_ucmd!();