diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2015-04-25 10:39:48 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2015-04-25 10:39:48 -0700 |
commit | 76fcbc6edade87d45dd757783c3c8eda747d39fa (patch) | |
tree | 05df089e660d47bd4ab5584e41f8b52935b3bfdd /Test | |
parent | e0cdf39fd9cbf056bd95eb08590addf8d40c155b (diff) | |
download | zsh-76fcbc6edade87d45dd757783c3c8eda747d39fa.tar.gz zsh-76fcbc6edade87d45dd757783c3c8eda747d39fa.tar.xz zsh-76fcbc6edade87d45dd757783c3c8eda747d39fa.zip |
34961: test for breadth-first glob with (Y1) qualifier (originally workers/32726)
Diffstat (limited to 'Test')
-rw-r--r-- | Test/D02glob.ztst | 2 |
1 files changed, 2 insertions, 0 deletions
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 |