git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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
Next: Jonathan Nieder
Message 1 of 11 in “Fix wrong failures in config test”
  1. Fix wrong failures in config testIngo Br ückl, Jan 10, 2011
  2. Jonathan NiederJan 10, 2011
  3. Ingo Br ücklJan 10, 2011
  4. Jonathan NiederJan 10, 2011
  5. Junio C HamanoJan 10, 2011
  6. Ingo Br ücklJan 10, 2011
  7. Jonathan NiederJan 10, 2011
  8. Junio C HamanoJan 10, 2011
  9. Jonathan NiederJan 10, 2011
  10. Ingo Br ücklJan 10, 2011
  11. Jonathan NiederJan 10, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.