diff --git a/t/t9100-git-svn-basic.sh b/t/t9100-git-svn-basic.sh index 4fea8d901bbc0f..67f26b70f1c3b3 100755 --- a/t/t9100-git-svn-basic.sh +++ b/t/t9100-git-svn-basic.sh @@ -25,7 +25,14 @@ test_expect_success \ ( cd import && echo foo >foo && - ln -s foo foo.link + if test_have_prereq !MINGW + then + ln -s foo foo.link + else + # MSYS libsvn does not support symlinks, so always use cp, even if + # ln -s actually works + cp foo foo.link + fi mkdir -p dir/a/b/c/d/e && echo "deep dir" >dir/a/b/c/d/e/file && mkdir bar &&