test-casefolding: fix wrong case on hfs on linux
authorSimon Heimberg <simohe@besonet.ch>
Fri, 07 Aug 2009 15:40:51 +0200
changeset 9396 5cd14e1e8385
parent 9395 163e79e2ed5f
child 9397 5b117c90f036
test-casefolding: fix wrong case on hfs on linux on linux hfs keeps the old case of the file stored force it by renameing to another name and back
tests/test-casefolding
--- a/tests/test-casefolding	Fri Aug 07 15:34:54 2009 +0200
+++ b/tests/test-casefolding	Fri Aug 07 15:40:51 2009 +0200
@@ -31,6 +31,9 @@
 hg rm a
 hg ci -Am removea
 echo A > A
+# on linux hfs keeps the old case stored, force it
+mv a aa
+mv aa A
 hg ci -Am addA
 # Used to fail under case insensitive fs
 hg up -C 0