[PATCH 3/4] t0050: Set core.ignorecase case to activate case insensitivity

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Steffen Prohaska
Date: Sunday, May 11, 2008 - 9:16 am

Case insensitive file handling is only active when
core.ignorecase = true.  Hence, we need to set it to give the tests
in t0050 a chance to succeed.  Setting core.ignorecase explicitly
allows to test some aspects of case handling even on case sensitive file
systems.

Signed-off-by: Steffen Prohaska <prohaska@zib.de>
---
 t/t0050-filesystem.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/t/t0050-filesystem.sh b/t/t0050-filesystem.sh
index 66d3647..399b45d 100755
--- a/t/t0050-filesystem.sh
+++ b/t/t0050-filesystem.sh
@@ -50,6 +50,7 @@ fi
 
 test_expect_success "setup case tests" '
 
+	git config core.ignorecase true &&
 	touch camelcase &&
 	git add camelcase &&
 	git commit -m "initial" &&
-- 
1.5.5.1.313.g9decb

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/4] git-init: autodetect core.ignorecase, Steffen Prohaska, (Sun May 11, 9:16 am)
[PATCH 2/4] t0050: Test autodetect core.ignorecase, Steffen Prohaska, (Sun May 11, 9:16 am)
[PATCH 3/4] t0050: Set core.ignorecase case to activate ca ..., Steffen Prohaska, (Sun May 11, 9:16 am)
[PATCH 4/4] t0050: Add test for case insensitive add, Steffen Prohaska, (Sun May 11, 9:16 am)
[PATCH 0/4] core.ignorecase, Steffen Prohaska, (Sun May 11, 9:21 am)