Mercurial > hg
comparison tests/test-casefolding @ 9396:5cd14e1e8385
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
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Fri, 07 Aug 2009 15:40:51 +0200 |
parents | 2134d6c09432 |
children |
comparison
equal
deleted
inserted
replaced
9395:163e79e2ed5f | 9396:5cd14e1e8385 |
---|---|
29 echo a > a | 29 echo a > a |
30 hg ci -Am adda | 30 hg ci -Am adda |
31 hg rm a | 31 hg rm a |
32 hg ci -Am removea | 32 hg ci -Am removea |
33 echo A > A | 33 echo A > A |
34 # on linux hfs keeps the old case stored, force it | |
35 mv a aa | |
36 mv aa A | |
34 hg ci -Am addA | 37 hg ci -Am addA |
35 # Used to fail under case insensitive fs | 38 # Used to fail under case insensitive fs |
36 hg up -C 0 | 39 hg up -C 0 |
37 hg up -C | 40 hg up -C |
38 cd .. | 41 cd .. |