about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2015-04-25 10:39:48 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2015-04-25 10:39:48 -0700
commit76fcbc6edade87d45dd757783c3c8eda747d39fa (patch)
tree05df089e660d47bd4ab5584e41f8b52935b3bfdd
parente0cdf39fd9cbf056bd95eb08590addf8d40c155b (diff)
downloadzsh-76fcbc6edade87d45dd757783c3c8eda747d39fa.tar.gz
zsh-76fcbc6edade87d45dd757783c3c8eda747d39fa.tar.xz
zsh-76fcbc6edade87d45dd757783c3c8eda747d39fa.zip
34961: test for breadth-first glob with (Y1) qualifier (originally workers/32726)
-rw-r--r--ChangeLog5
-rw-r--r--Test/D02glob.ztst2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 78803b6ae..bd6050ea3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-25  Barton E. Schaefer  <schaefer@zsh.org>
+
+	* 34961: Test/D02glob.ztst: test for breadth-first glob with (Y1)
+	qualifier (originally workers/32726)
+
 2015-04-24  Peter Stephenson  <p.stephenson@samsung.com>
 
 	* 34955: Src/exec.c: list_pipe_job needs saving and restoring
diff --git a/Test/D02glob.ztst b/Test/D02glob.ztst
index 217ce7c06..3e2095a0c 100644
--- a/Test/D02glob.ztst
+++ b/Test/D02glob.ztst
@@ -548,6 +548,7 @@
  (){ print "Negated:" $@:t } glob.tmp/dir*(Y1^Y)
  (){ print "Sorting:" $@:t } glob.tmp/dir*(Y4On)
  (){ [[ $#@ -eq 1 ]] && print Globs before last path component } glob.tmp/dir?/subdir(NY1)
+ (){ [[ $1 == glob.tmp/a ]] } glob.tmp/**/a(Y1) && print Breadth first
  (){ [[ $#@ -eq 0 ]] && print Respects qualifiers } glob.tmp/dir*(NY1.)
  (print -- *(Y)) 2>/dev/null || print "Argument required"
 0:short-circuit modifier
@@ -558,6 +559,7 @@
 >Negated: dir1 dir2 dir3 dir4
 >Sorting: dir4 dir3 dir2 dir1
 >Globs before last path component
+>Breadth first
 >Respects qualifiers
 >Argument required