Re: [PATCH] Fix wrong failures in config test
- From
Ingo Br ückl <ib@wupperonline.de>
- Date
- Jan 10, 2011, 17:15 UTC
- Message-ID
- <4d2b3ecd.7c62abb5.bm000@wupperonline.de>
- In-Reply-To
- <20110110165251.GB7714@burratino>
Jonathan Nieder wrote on Mon, 10 Jan 2011 10:52:51 -0600:
> Could you explain the nature of the failures in more detail?
Yeah, sorry.
> What version of git are you building?
1.7.3.5
> Is GIT_CONFIG already set in the environment before you run > t1300-repo-config.sh (it shouldn't matter)?
No.
> How does output from "sh t1300-repo-config.sh -v -i" end?
expecting success: git config --rename-section branch.eins branch.zwei fatal: No such section! not ok - 50 rename section # git config --rename-section branch.eins branch.zwei
The problem is that the last 'git config' worked on other-config due to variable GIT_CONFIG. Test 50 should work now on .git/config, but as GIT_CONFIG is still set, it doesn't and fails.
Ingo