Re: [PATCH 1/2] Add Git::config_path()
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 7, 2011, 21:35 UTC
- Message-ID
- <7vk48gtrh9.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <m3vcs01r32.fsf@localhost.localdomain>
Jakub Narebski <jnareb@gmail.com> writes:
Show 12 quoted lines
> diff --git a/t/t9700-perl-git.sh b/t/t9700-perl-git.sh > index 3787186..7558f0c 100755 > --- a/t/t9700-perl-git.sh > +++ b/t/t9700-perl-git.sh > @@ -43,7 +43,9 @@ test_expect_success \ > git config --add test.booltrue true && > git config --add test.boolfalse no && > git config --add test.boolother other && > - git config --add test.int 2k > + git config --add test.int 2k && > + git config --add test.path "~/foo" && > + git config --add test.pathexpanded "$HOME/foo"
Given that test-lib.sh sets up the $HOME away from unknown place to ensure repeatability of tests, I am not sure if this test would ever pass.