Skip to content

Commit 4b18f82

Browse files
committed
Disable symlink tests on Windows.
For some reason, these work on AppVeyor but not in other build systems. Let's just disable them. See: rust-lang/rust#37149
1 parent 5462af4 commit 4b18f82

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/tests.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,7 @@ sherlock:be, to a very large extent, the result of luck. Sherlock Holmes
552552
assert_eq!(lines, expected);
553553
});
554554

555+
#[cfg(not(windows))]
555556
sherlock!(symlink_nofollow, "Sherlock", ".", |wd: WorkDir, mut cmd: Command| {
556557
wd.remove("sherlock");
557558
wd.create_dir("foo");
@@ -563,6 +564,7 @@ sherlock!(symlink_nofollow, "Sherlock", ".", |wd: WorkDir, mut cmd: Command| {
563564
wd.assert_err(&mut cmd);
564565
});
565566

567+
#[cfg(not(windows))]
566568
sherlock!(symlink_follow, "Sherlock", ".", |wd: WorkDir, mut cmd: Command| {
567569
wd.remove("sherlock");
568570
wd.create_dir("foo");

0 commit comments

Comments
 (0)