diff --git a/tests/test_cp.rs b/tests/test_cp.rs index 82651be57..d47fbb5c9 100644 --- a/tests/test_cp.rs +++ b/tests/test_cp.rs @@ -1,4 +1,5 @@ use common::util::*; +#[cfg(not(windows))] use std::fs::set_permissions; static TEST_EXISTING_FILE: &str = "existing_file.txt";