mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
Fix new tests which ignored --no-symlinks
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
@@ -305,6 +305,7 @@ test_expect_success 'update-index D/F conflict' '
|
||||
test $numpath0 = 1
|
||||
'
|
||||
|
||||
test "$no_symlinks" || {
|
||||
test_expect_success 'absolute path works as expected' '
|
||||
mkdir first &&
|
||||
ln -s ../.git first/.git &&
|
||||
@@ -320,5 +321,6 @@ test_expect_success 'absolute path works as expected' '
|
||||
sym="$(cd first; pwd -P)"/file &&
|
||||
test "$sym" = "$(test-absolute-path $dir2/syml)"
|
||||
'
|
||||
}
|
||||
|
||||
test_done
|
||||
|
||||
@@ -601,6 +601,7 @@ echo >>result
|
||||
|
||||
test_expect_success '--null --get-regexp' 'cmp result expect'
|
||||
|
||||
test "$no_symlinks" || {
|
||||
test_expect_success 'symlinked configuration' '
|
||||
|
||||
ln -s notyet myconfig &&
|
||||
@@ -615,5 +616,6 @@ test_expect_success 'symlinked configuration' '
|
||||
test "z$(GIT_CONFIG=notyet git config test.xyzzy)" = zrezrov
|
||||
|
||||
'
|
||||
}
|
||||
|
||||
test_done
|
||||
|
||||
Reference in New Issue
Block a user