Skip to content

Commit

Permalink
t9100: don't use symlinks with SVN on MINGW
Browse files Browse the repository at this point in the history
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 <blees@dcon.de>
  • Loading branch information
kblees authored and dscho committed Sep 18, 2015
1 parent ba6fc88 commit 9cf2a9f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion t/t9100-git-svn-basic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit 9cf2a9f

Please sign in to comment.