git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Distinguish branches by more than case in tests.
@ 2007-04-06  5:42 Brian Gernhardt
  2007-04-06 21:47 ` Junio C Hamano
  0 siblings, 1 reply; 8+ messages in thread
From: Brian Gernhardt @ 2007-04-06  5:42 UTC (permalink / raw)
  To: git

The renaming without config test changed a branch from q to Q, which
fails on non-case sensitive file systems.  Change the test to use q
and q2.
---

Notably, HFS+ is not case sensitive.  IIRC there are others.  This isn't
a flaw of git, just a bad choice of branch names for certain systems.

 t/t3200-branch.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh
index ce2c5f4..3ca1a32 100755
--- a/t/t3200-branch.sh
+++ b/t/t3200-branch.sh
@@ -85,9 +85,9 @@ test_expect_failure \
 
 mv .git/config .git/config-saved
 
-test_expect_success 'git branch -m q Q without config should succeed' '
-	git-branch -m q Q &&
-	git-branch -m Q q
+test_expect_success 'git branch -m q q2 without config should succeed' '
+	git-branch -m q q2 &&
+	git-branch -m q2 q
 '
 
 mv .git/config-saved .git/config
-- 
1.5.1.32.gdd6cd

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-04-07  0:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-06  5:42 [PATCH] Distinguish branches by more than case in tests Brian Gernhardt
2007-04-06 21:47 ` Junio C Hamano
2007-04-06 22:06   ` Linus Torvalds
2007-04-06 23:02     ` Randal L. Schwartz
2007-04-06 23:22       ` Bill Lear
2007-04-06 23:41       ` Linus Torvalds
2007-04-06 23:52         ` Bill Lear
2007-04-07  0:18         ` Kyle McMartin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).