diff --git a/tests/by-util/test_cp.rs b/tests/by-util/test_cp.rs index 38d7e815d..a1638584b 100644 --- a/tests/by-util/test_cp.rs +++ b/tests/by-util/test_cp.rs @@ -481,7 +481,7 @@ fn test_cp_arg_interactive() { } #[test] -#[cfg(not(target_os = "android"))] +#[cfg(not(any(target_os = "android", target_os = "freebsd")))] fn test_cp_arg_interactive_update() { // -u -i won't show the prompt to validate the override or not // Therefore, the error code will be 0