git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* OS X Unicode Normalization Hits Again
@ 2010-02-09  3:38 Brian Gernhardt
  2010-02-09  3:44 ` Junio C Hamano
  0 siblings, 1 reply; 8+ messages in thread
From: Brian Gernhardt @ 2010-02-09  3:38 UTC (permalink / raw)
  To: Git List

git fails test t3902-quoted for me starting with 8424981: Fix invalid read in quote_c_style_counted

The problem isn't with the code, or the test.  It's that OS X is "normalizing" the file paths again.

diff --git a/t/t3902-quoted.sh b/t/t3902-quoted.sh
index 5868052..14da45f 100755
--- a/t/t3902-quoted.sh
+++ b/t/t3902-quoted.sh
@@ -33,6 +33,7 @@ for_each_name () {
 
 test_expect_success setup '
 
+       mkdir "caractère spécial" &&
        for_each_name "echo initial >\"\$name\""
        git add . &&
        git commit -q -m Initial &&

Git makes the directory "caract\303\250re sp\303\251cial" but OS X stores "caracte\314\200re spe\314\201cial".

Should I just alter the test to use the same form as OS X, or is there a better method?

~~ Brian

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

end of thread, other threads:[~2010-02-09  7:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-09  3:38 OS X Unicode Normalization Hits Again Brian Gernhardt
2010-02-09  3:44 ` Junio C Hamano
2010-02-09  4:07   ` [PATCH] t9302: Protect against OS X normalization Brian Gernhardt
2010-02-09  6:08     ` Jeff King
2010-02-09  6:14       ` Jeff King
2010-02-09  6:53       ` Junio C Hamano
2010-02-09  6:58         ` Jeff King
2010-02-09  7:05           ` Junio C Hamano

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).