From a7cc3b6dcaee8f06cc7607e6c4e598c982b064ce Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Sun, 29 Oct 2023 14:37:47 +0100 Subject: [PATCH] cp: restrict two test functions to linux/mac/win --- tests/by-util/test_cp.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/by-util/test_cp.rs b/tests/by-util/test_cp.rs index c79367afb..07b52523a 100644 --- a/tests/by-util/test_cp.rs +++ b/tests/by-util/test_cp.rs @@ -3216,6 +3216,7 @@ fn test_cp_archive_on_directory_ending_dot() { } #[test] +#[cfg(any(target_os = "linux", target_os = "windows", target_os = "macos"))] fn test_cp_debug_default() { let ts = TestScenario::new(util_name!()); let at = &ts.fixtures; @@ -3243,6 +3244,7 @@ fn test_cp_debug_default() { } #[test] +#[cfg(any(target_os = "linux", target_os = "windows", target_os = "macos"))] fn test_cp_debug_multiple_default() { let ts = TestScenario::new(util_name!()); let at = &ts.fixtures;