diff tests/test-walk @ 4192:9814d600011e

util._matcher: unify pattern normalization This should fix issue347. It also highlights one issue with the directory walking code when you have an --include pattern that matches the end of a filename. This is fixed by the next patch.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Sat, 10 Mar 2007 23:00:53 -0300
parents 02de0f98ca33
children 0d51eb296fb9 6cecaec07cc9
line wrap: on
line diff
--- a/tests/test-walk	Sat Mar 10 23:00:52 2007 -0300
+++ b/tests/test-walk	Sat Mar 10 23:00:53 2007 -0300
@@ -35,6 +35,16 @@
 debugwalk
 debugwalk -I.
 chdir mammals
+debugwalk
+debugwalk -X ../beans
+debugwalk -I '*k'
+debugwalk -I 'glob:*k'
+debugwalk -I 'relglob:*k'
+debugwalk -I 'relglob:*k' .
+debugwalk -I 're:.*k$'
+debugwalk -I 'relre:.*k$'
+debugwalk -I 'path:beans'
+debugwalk -I 'relpath:../beans'
 debugwalk .
 debugwalk -I.
 debugwalk Procyonidae