[PATCH] Fix wrong failures in config test
- From
Ingo Br ückl <ib@wupperonline.de>
- Date
- Jan 10, 2011, 16:13 UTC
- Message-ID
- <4d2b3198.674034bb.bm000@wupperonline.de>
The tests after '--set in alternative GIT_CONFIG' failed because variable GIT_CONFIG was still set.
Signed-off-by: Ingo Brückl <ib@wupperonline.de> ---
Is it only me (bash 3.2.48(1)-release) experiencing these failures?
t/t1300-repo-config.sh | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/t/t1300-repo-config.sh b/t/t1300-repo-config.sh index d0e5546..d1c9a8f 100755 --- a/t/t1300-repo-config.sh +++ b/t/t1300-repo-config.sh @@ -428,6 +428,8 @@ EOF test_expect_success '--set in alternative GIT_CONFIG' 'cmp other-config expect' +unset GIT_CONFIG + cat > .git/config << EOF # Hallo #Bello -- 1.7.3.5