Code

t3902: Protect against OS X normalization
authorBrian Gernhardt <brian@gernhardtsoftware.com>
Tue, 9 Feb 2010 04:07:25 +0000 (23:07 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 9 Feb 2010 07:06:08 +0000 (23:06 -0800)
commit8b2337a5893479ee18dfb21a1d4aa5fc1608872d
tree67ce0c38c5214618cc5a2ee6046011c53b99ca79
parent105a6339d8454d3856099f6ccea14435a05e2268
t3902: Protect against OS X normalization

8424981: "Fix invalid read in quote_c_style_counted" introduced a test
that used "caractère spécial" as a directory name.

Git creates it as "caract\303\250re sp\303\251cial"
OS X stores it as "caracte\314\200re spe\314\201cial"

To work around this problem, use the already introduced $FN as the
directory name.

Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3902-quoted.sh