summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6cbf973)
raw | patch | inline | side by side (parent: 6cbf973)
author | Junio C Hamano <gitster@pobox.com> | |
Fri, 27 Jul 2007 05:13:12 +0000 (22:13 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 27 Jul 2007 07:02:05 +0000 (00:02 -0700) |
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1300-repo-config.sh | patch | blob | history |
diff --git a/t/t1300-repo-config.sh b/t/t1300-repo-config.sh
index 1c43cc333d00827dd6f2b8e6aa605b3390ac6a45..187ca2df5c81245256630428d3fc47567e0b4112 100755 (executable)
--- a/t/t1300-repo-config.sh
+++ b/t/t1300-repo-config.sh
test_expect_success '--null --get-regexp' 'cmp result expect'
+test_expect_success 'symlinked configuration' '
+
+ ln -s notyet myconfig &&
+ GIT_CONFIG=myconfig git config test.frotz nitfol &&
+ test -h myconfig &&
+ test -f notyet &&
+ test "z$(GIT_CONFIG=notyet git config test.frotz)" = znitfol &&
+ GIT_CONFIG=myconfig git config test.xyzzy rezrov &&
+ test -h myconfig &&
+ test -f notyet &&
+ test "z$(GIT_CONFIG=notyet git config test.frotz)" = znitfol &&
+ test "z$(GIT_CONFIG=notyet git config test.xyzzy)" = zrezrov
+
+'
+
test_done