about summary refs log tree commit diff
path: root/Misc/globtests
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-07-27 21:51:32 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-07-27 21:51:32 +0000
commita81e5a609e6d73a83c5a55a3f64f760c6fb45b92 (patch)
tree33ddedca1bc49c88067c11f6f20a740f04aeb240 /Misc/globtests
parent60a05cf85aae737070f27b0e3edf36c840d2b17d (diff)
downloadzsh-a81e5a609e6d73a83c5a55a3f64f760c6fb45b92.tar.gz
zsh-a81e5a609e6d73a83c5a55a3f64f760c6fb45b92.tar.xz
zsh-a81e5a609e6d73a83c5a55a3f64f760c6fb45b92.zip
add (#cN,M) globbing flag
Diffstat (limited to 'Misc/globtests')
-rwxr-xr-xMisc/globtests10
1 files changed, 10 insertions, 0 deletions
diff --git a/Misc/globtests b/Misc/globtests
index a5f7c4a00..65fdbdca2 100755
--- a/Misc/globtests
+++ b/Misc/globtests
@@ -182,5 +182,15 @@ f atest/path    *((#s)|/)test((#e)|/)*
 f path/testy    *((#s)|/)test((#e)|/)*
 f path/testy/ohyes *((#s)|/)test((#e)|/)*
 f path/atest/ohyes *((#s)|/)test((#e)|/)*
+t XabcdabcY        X(ab|c|d)(#c5)Y
+t XabcdabcY        X(ab|c|d)(#c1,5)Y
+t XabcdabcY        X(ab|c|d)(#c5,8)Y
+t XabcdabcY        X(ab|c|d)(#c4,)Y
+f XabcdabcY        X(ab|c|d)(#c6,)Y
+f XabcdabcY        X(ab|c|d)(#c1,4)Y
+t ZX               Z(|)(#c1)X
+t froofroo         (fro(#c2))(#c2)
+f froofroofroo     (fro(#c2))(#c2)
+f froofro          (fro(#c2))(#c2)
 EOT
 print "$failed tests failed."