mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
Skip tests that involve symbolic links.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
This commit is contained in:
@@ -24,6 +24,10 @@ test_cd_to_toplevel repo 'at physical root'
|
||||
|
||||
test_cd_to_toplevel repo/sub/dir 'at physical subdir'
|
||||
|
||||
if test "$no_symlinks"; then
|
||||
say "symbolic links not supported - skipping tests"
|
||||
else
|
||||
|
||||
ln -s repo symrepo
|
||||
test_cd_to_toplevel symrepo 'at symbolic root'
|
||||
|
||||
@@ -34,4 +38,6 @@ cd repo
|
||||
ln -s sub/dir internal-link
|
||||
test_cd_to_toplevel internal-link 'at internal symbolic subdir'
|
||||
|
||||
fi # $no_symlinks
|
||||
|
||||
test_done
|
||||
|
||||
@@ -4,6 +4,11 @@ test_description='pulling from symlinked subdir'
|
||||
|
||||
. ./test-lib.sh
|
||||
|
||||
if test "$no_symlinks"; then
|
||||
say "symbolic links not supported - skipping tests"
|
||||
test_done
|
||||
fi
|
||||
|
||||
# The scenario we are building:
|
||||
#
|
||||
# trash\ directory/
|
||||
|
||||
Reference in New Issue
Block a user