summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2016-11-11 06:44:23 -0500
committerAndrew Gallant <jamslam@gmail.com>2016-11-11 06:44:23 -0500
commit4b18f828990c4e135207a5e641b679da1ac239df (patch)
tree02d2138cc25e6a617d7c9bcc08a41401a35c03e8
parent5462af443494258822fa9e9cdfc5b33e1712a0b8 (diff)
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
-rw-r--r--tests/tests.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tests.rs b/tests/tests.rs
index 5c5546d3..2a53c479 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");