From ac39aa612147b595e02876a4c9d6ca7e8063ba3d Mon Sep 17 00:00:00 2001 From: Michael J Gruber Date: Thu, 26 Jul 2012 15:39:53 +0200 Subject: test-lib: provide case insensitivity as a prerequisite Case insensitivity plays a role in several tests and is tested in several tests. Therefore, move the test from t003 into the test lib and use the prerequisite in t0003. Signed-off-by: Michael J Gruber Signed-off-by: Junio C Hamano --- t/t0003-attributes.sh | 10 ---------- 1 file changed, 10 deletions(-) (limited to 't/t0003-attributes.sh') diff --git a/t/t0003-attributes.sh b/t/t0003-attributes.sh index 51f3045ba..febc45c9c 100755 --- a/t/t0003-attributes.sh +++ b/t/t0003-attributes.sh @@ -123,16 +123,6 @@ test_expect_success 'attribute matching is case insensitive when core.ignorecase ' -test_expect_success 'check whether FS is case-insensitive' ' - mkdir junk && - echo good >junk/CamelCase && - echo bad >junk/camelcase && - if test "$(cat junk/CamelCase)" != good - then - test_set_prereq CASE_INSENSITIVE_FS - fi -' - test_expect_success CASE_INSENSITIVE_FS 'additional case insensitivity tests' ' test_must_fail attr_check a/B/D/g "a/b/d/*" "-c core.ignorecase=0" && test_must_fail attr_check A/B/D/NO "a/b/d/*" "-c core.ignorecase=0" && -- cgit v1.2.1