From 1af6e1f757dd470260f849e930e2cf2b35f3f609 Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Wed, 22 Jan 2020 19:46:50 -0600 Subject: [PATCH] Tests ~ simplify by ignoring instead of skipping tests for 'Tests ~ disable two symlink tests which may not be possible on 'windows'' --- src/tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests.rs b/src/tests.rs index 9fe0e4e..1efd4cd 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -211,7 +211,7 @@ fn build_temp_file(dir: &TempDir) -> PathBuf { // fix! [rivy; 2020-01-22] possible on "windows"?; `ln` is not usually an available command; creation of symbolic links requires special enhanced permissions // ... ref: @@ -#[cfg(not(target_os = "windows"))] +#[cfg_attr(target_os = "windows", ignore)] #[test] pub fn test_soft_sym_link() { let dir = Builder::new().tempdir().unwrap(); @@ -289,7 +289,7 @@ pub fn test_hard_sym_link() { // Check we don't recurse down an infinite symlink tree // fix! [rivy; 2020-01-22] possible on "windows"?; `ln` is not usually an available command; creation of symbolic links requires special enhanced permissions // ... ref: @@ -#[cfg(not(target_os = "windows"))] +#[cfg_attr(target_os = "windows", ignore)] #[test] pub fn test_recursive_sym_link() { let dir = Builder::new().tempdir().unwrap();