test-bheads: use a case-insensitive set of filenames (issue2274) stable
authorNicolas Dumazet <nicdumz.commits@gmail.com>
Tue, 06 Jul 2010 15:05:03 +0900
branchstable
changeset 11543 0a2762d83c53
parent 11542 594b98846ce1
child 11544 be5e86c80628
test-bheads: use a case-insensitive set of filenames (issue2274) This prevents false negatives on case-insensitive systems.
tests/test-bheads
tests/test-bheads.out
--- a/tests/test-bheads	Tue Jul 06 18:24:04 2010 +0900
+++ b/tests/test-bheads	Tue Jul 06 15:05:03 2010 +0900
@@ -137,21 +137,21 @@
 echo '% case NN: msg'
 hg up -q null
 hg branch -f b
-echo 1 > B
+echo 1 > bb
 hg ci -Am "b4 (NN): new topo root for branch b"
 
 echo '% case HN: no msg'
-echo 2 >> B
+echo 2 >> bb
 hg ci -m "b5 (HN)"
 
 echo '% case BN: msg'
 hg branch -f default
-echo 1 > A
+echo 1 > aa
 hg ci -Am "a6 (BN): new branch root"
 
 echo '% case CN: msg'
 hg up -q 4
-echo 3 >> BB
+echo 3 >> bbb
 hg ci -Am "b7 (CN): regular new head"
 
 echo '% case BB: msg'
--- a/tests/test-bheads.out	Tue Jul 06 18:24:04 2010 +0900
+++ b/tests/test-bheads.out	Tue Jul 06 15:05:03 2010 +0900
@@ -187,15 +187,15 @@
 adding b
 % case NN: msg
 marked working directory as branch b
-adding B
+adding bb
 created new head
 % case HN: no msg
 % case BN: msg
 marked working directory as branch default
-adding A
+adding aa
 created new head
 % case CN: msg
-adding BB
+adding bbb
 created new head
 % case BB: msg
 marked working directory as branch default