diff --git a/t/t7001-mv.sh b/t/t7001-mv.sh index 910a28c7e2..da5d22bd44 100755 --- a/t/t7001-mv.sh +++ b/t/t7001-mv.sh @@ -173,6 +173,7 @@ test_expect_success 'git mv should not change sha1 of moved cache entry' ' rm -f dirty dirty2 +test "$no_symlinks" || test_expect_success 'git mv should overwrite symlink to a file' ' rm -fr .git && @@ -192,6 +193,7 @@ test_expect_success 'git mv should overwrite symlink to a file' ' rm -f moved symlink +test "$no_symlinks" || test_expect_success 'git mv should overwrite file with a symlink' ' rm -fr .git &&