From 684994ee1176196b9cd53815944b77191b0ed58c Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Wed, 22 Jan 2020 01:55:11 -0600 Subject: [PATCH] Tests ~ disable two symlink tests which may not be possible on 'windows' --- src/tests.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tests.rs b/src/tests.rs index 4bd38e9..2f7dbd0 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -199,6 +199,8 @@ fn build_temp_file(dir: &TempDir) -> PathBuf { file_path } +// fix! [rivy; 2020-01-22] possible on "windows"? +#[cfg(not(target_os = "windows"))] #[test] pub fn test_soft_sym_link() { let dir = Builder::new().tempdir().unwrap(); @@ -273,6 +275,8 @@ pub fn test_hard_sym_link() { } // Check we don't recurse down an infinite symlink tree +// fix! [rivy; 2020-01-22] possible on "windows"? +#[cfg(not(target_os = "windows"))] #[test] pub fn test_recursive_sym_link() { let dir = Builder::new().tempdir().unwrap();