about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-10-15 10:21:02 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-10-15 10:21:02 +0000
commita82a2564dd9c20592f8b7744f96e45a40dc5c6cb (patch)
tree737f167806f76fc7d5fe42cd43df036a89d06a67 /Test
parentcf89569c454fb6c193108748963228f553ed3a67 (diff)
downloadzsh-a82a2564dd9c20592f8b7744f96e45a40dc5c6cb.tar.gz
zsh-a82a2564dd9c20592f8b7744f96e45a40dc5c6cb.tar.xz
zsh-a82a2564dd9c20592f8b7744f96e45a40dc5c6cb.zip
20490: Don't assume null termination for test string in pattern matching.
Diffstat (limited to 'Test')
-rw-r--r--Test/D02glob.ztst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Test/D02glob.ztst b/Test/D02glob.ztst
index 6761b3753..ab75d957b 100644
--- a/Test/D02glob.ztst
+++ b/Test/D02glob.ztst
@@ -302,3 +302,8 @@
  print glob.tmp/*(/^F)
 0:Just empty dirs
 >glob.tmp/dir4
+
+ setopt extendedglob
+ print glob.tmp/**/*~*/dir3(/*|(#e))(/)
+0:Exclusions with complicated path specifications
+>glob.tmp/dir1 glob.tmp/dir2 glob.tmp/dir4