34961: test for breadth-first glob with (Y1) qualifier (originally workers/32726)

This commit is contained in:
Barton E. Schaefer 2015-04-25 10:39:48 -07:00
parent e0cdf39fd9
commit 76fcbc6eda
2 changed files with 7 additions and 0 deletions

View file

@ -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

View file

@ -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