From 1cd29a3fb830290d8a84b19673ce95ff4b833119 Mon Sep 17 00:00:00 2001 From: Karsten Blees Date: Wed, 20 May 2015 18:27:57 +0200 Subject: [PATCH] t9100: don't use symlinks with SVN on MINGW The SVN library doesn't seem to support symlinks, even if symlinks are enabled in MSys and Git. Use 'cp' instead of 'ln -s'. Signed-off-by: Karsten Blees --- t/t9100-git-svn-basic.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/t/t9100-git-svn-basic.sh b/t/t9100-git-svn-basic.sh index 4fea8d901b..67f26b70f1 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 &&