Disable symlink tests on windows.
@@ -280,7 +280,7 @@ fn star_star_in_the_middle() {
#[test]
#[serial]
-#[ignore]
+#[cfg(not(target_os = "windows"))]
fn tilde_expansion_with_symlink() {
let tmp_dir = tempdir_in(home()).unwrap();
let root = tmp_dir
@@ -307,7 +307,7 @@ fn tilde_expansion_with_symlink() {
#[test]
#[serial]
-#[ignore]
+#[cfg(not(target_os = "windows"))]
fn dot_path_with_symlink() {
let tmp_dir = tempdir_in(home()).unwrap();
git_dir(&tmp_dir, "foo");
@@ -325,7 +325,7 @@ fn dot_path_with_symlink() {
#[test]
#[serial]
-#[ignore]
+#[cfg(not(target_os = "windows"))]
fn dot_path_matching_symlink() {
let tmp_dir = tempdir_in(home()).unwrap();
git_dir(&tmp_dir, "foo");
@@ -343,7 +343,7 @@ fn dot_path_matching_symlink() {
#[test]
#[serial]
-#[ignore]
+#[cfg(not(target_os = "windows"))]
fn dot_path_matching_symlink_with_icase() {
let tmp_dir = tempdir_in(home()).unwrap();
git_dir(&tmp_dir, "foo");
