From: Brian Gernhardt Date: Thu, 29 Jan 2009 19:10:41 GMT Subject: Re: [PATCH] t3411: Fix test 1 for case-insensitive file systems Message-ID: <673CE949-5DF9-4970-A739-AA09FCD26D24@silverinsanity.com> In-Reply-To: <7vocxqf2sf.fsf@gitster.siamese.dyndns.org> On Jan 29, 2009, at 12:19 PM, Junio C Hamano wrote: > If we really wanted to care about case-folding file systems, > shouldn't we > make test_commit shell function a bit more than the downcasing? How > about > this patch instead? That's a good point. Always good to prevent future issues. > test_commit () { > - file=${2:-$(echo "$1" | tr 'A-Z' 'a-z')} > + file=${2:-$(echo "$1" | tr 'A-Z' 'a-z').t} > echo "${3-$1}" > "$file" && > git add "$file" && > test_tick && Added this and ran through the tests. Works for me. :-D Tested-by: Brian Gernhardt (HFS+ on Mac OS 10.5.6)