diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-07-03 17:06:04 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-07-03 17:06:04 +0000 |
commit | 876fa2c44e0a17b2d10a2547ac1d13687cfed520 (patch) | |
tree | f92ce7475c97f82a05e20e9ba8be9b83436c9b6b /Misc/globtests.ksh | |
parent | 6fa964914d8be709b1145399108ef1535a0b3f39 (diff) | |
download | zsh-876fa2c44e0a17b2d10a2547ac1d13687cfed520.tar.gz zsh-876fa2c44e0a17b2d10a2547ac1d13687cfed520.tar.xz zsh-876fa2c44e0a17b2d10a2547ac1d13687cfed520.zip |
unposted: force latest version of files from vendor to main branch
Diffstat (limited to 'Misc/globtests.ksh')
-rwxr-xr-x | Misc/globtests.ksh | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Misc/globtests.ksh b/Misc/globtests.ksh index b03cc488e..6a9bf9b0e 100755 --- a/Misc/globtests.ksh +++ b/Misc/globtests.ksh @@ -1,6 +1,6 @@ #!/usr/local/bin/zsh -f -setopt kshglob +setopt kshglob extendedglob failed=0 while read res str pat; do @@ -68,6 +68,7 @@ t foobar !(foo)* t moo.cow !(*.*).!(*.*) f mad.moo.cow !(*.*).!(*.*) f mucca.pazza mu!(*(c))?.pa!(*(z))? +f _foo~ _?(*[^~]) t fff !(f) t fff *(!(f)) t fff +(!(f)) @@ -87,5 +88,15 @@ t zoox @(!(z*)|*x) t foo *(!(foo)) f foob !(foo)b* t foobb !(foo)b* +t fooxx (#i)FOOXX +f fooxx (#l)FOOXX +t FOOXX (#l)fooxx +f fooxx (#i)FOO@(#I)X@(#i)X +t fooXx (#i)FOO@(#I)X@(#i)X +t fooxx @((#i)FOOX)x +f fooxx @((#i)FOOX)X +f BAR @(bar|(#i)foo) +t FOO @(bar|(#i)foo) +t Modules (#i)*m* EOT print "$failed tests failed." |