mirror of
https://github.com/git/git.git
synced 2026-02-04 15:04:45 +00:00
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 <blees@dcon.de>
This commit is contained in:
committed by
Johannes Schindelin
parent
e0259a819d
commit
ad6e1577e9
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user