From 4b18f828990c4e135207a5e641b679da1ac239df Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Fri, 11 Nov 2016 06:44:23 -0500 Subject: [PATCH] Disable symlink tests on Windows. For some reason, these work on AppVeyor but not in other build systems. Let's just disable them. See: https://github.com/rust-lang/rust/pull/37149 --- tests/tests.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/tests.rs b/tests/tests.rs index 5c5546d..2a53c47 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -552,6 +552,7 @@ sherlock:be, to a very large extent, the result of luck. Sherlock Holmes assert_eq!(lines, expected); }); +#[cfg(not(windows))] sherlock!(symlink_nofollow, "Sherlock", ".", |wd: WorkDir, mut cmd: Command| { wd.remove("sherlock"); wd.create_dir("foo"); @@ -563,6 +564,7 @@ sherlock!(symlink_nofollow, "Sherlock", ".", |wd: WorkDir, mut cmd: Command| { wd.assert_err(&mut cmd); }); +#[cfg(not(windows))] sherlock!(symlink_follow, "Sherlock", ".", |wd: WorkDir, mut cmd: Command| { wd.remove("sherlock"); wd.create_dir("foo");