about summary refs log tree commit diff
path: root/Test/D02glob.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2014-09-08 16:38:51 +0100
committerPeter Stephenson <pws@zsh.org>2014-09-08 16:38:51 +0100
commit8bf3595e3a05f0cea7f12c463a0df09e4010cd1c (patch)
tree1dd75aa5b3921cee250da7c2db2d2b91dbf939ca /Test/D02glob.ztst
parent956829c18e8ade666083f1c69043a16a80f70b0d (diff)
downloadzsh-8bf3595e3a05f0cea7f12c463a0df09e4010cd1c.tar.gz
zsh-8bf3595e3a05f0cea7f12c463a0df09e4010cd1c.tar.xz
zsh-8bf3595e3a05f0cea7f12c463a0df09e4010cd1c.zip
users/19059 based on users/19058: remove ineffiency with multiple * matches
Diffstat (limited to 'Test/D02glob.ztst')
-rw-r--r--Test/D02glob.ztst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Test/D02glob.ztst b/Test/D02glob.ztst
index 4697ca414..217ce7c06 100644
--- a/Test/D02glob.ztst
+++ b/Test/D02glob.ztst
@@ -565,3 +565,10 @@
   print $match[1]
 0:(#q) is ignored completely in conditional pattern matching
 >fichier
+
+# The following should not cause excessive slowdown.
+  print glob.tmp/*.*
+  print glob.tmp/**************************.*************************
+0:Optimisation to squeeze multiple *'s used as ordinary glob wildcards.
+>glob.tmp/ra=1.0_et=3.5
+>glob.tmp/ra=1.0_et=3.5