From 6bb4b679d6fcee5104c46c3a5750cbe1d1dc06ce Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Thu, 9 Aug 2007 01:54:12 +0100 Subject: [PATCH] Fix new tests which ignored --no-symlinks Signed-off-by: Johannes Schindelin --- t/t0000-basic.sh | 2 ++ t/t1300-repo-config.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/t/t0000-basic.sh b/t/t0000-basic.sh index 2c3b6b797c..b42b1e6948 100755 --- a/t/t0000-basic.sh +++ b/t/t0000-basic.sh @@ -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 diff --git a/t/t1300-repo-config.sh b/t/t1300-repo-config.sh index 1d2bf2c060..a59f1f3aed 100755 --- a/t/t1300-repo-config.sh +++ b/t/t1300-repo-config.sh @@ -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