Fix new tests which ignored --no-symlinks

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin
2007-08-09 01:54:12 +01:00
parent 0a453a237e
commit 6bb4b679d6
2 changed files with 4 additions and 0 deletions

View File

@@ -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

View File

@@ -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