tests/test-add.t
branchstable
changeset 24537 2bb13f2b778c
parent 23258 10697f29af2b
child 24548 c780a63f61ca
--- a/tests/test-add.t	Tue Mar 31 11:58:14 2015 -0700
+++ b/tests/test-add.t	Tue Mar 31 11:11:39 2015 -0400
@@ -169,4 +169,16 @@
   $ cat d
   file d
 
+Test that adding a directory doesn't require case matching (issue4578)
+#if icasefs
+  $ mkdir -p CapsDir1/CapsDir
+  $ echo abc > CapsDir1/CapsDir/AbC.txt
+  $ mkdir CapsDir1/CapsDir/SubDir
+  $ echo def > CapsDir1/CapsDir/SubDir/Def.txt
+
+  $ hg add -v capsdir1/capsdir
+  adding CapsDir1/CapsDir/AbC.txt (glob)
+  adding CapsDir1/CapsDir/SubDir/Def.txt (glob)
+#endif
+
   $ cd ..