diff options
| author | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2025-12-21 12:46:04 +0900 |
|---|---|---|
| committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2025-12-21 12:54:51 +0900 |
| commit | 3e72a52e27d8ce8d8be0ee65ae5f77f756c06fda (patch) | |
| tree | 24fcb47088cc0360058a3accc148bfcf0c22c740 /Test/D02glob.ztst | |
| parent | 54150: the option --license was removed in 2010 (diff) | |
| download | zsh-master.tar zsh-master.tar.gz zsh-master.tar.bz2 zsh-master.tar.lz zsh-master.tar.xz zsh-master.tar.zst zsh-master.zip | |
when redirecting to/from a pattern (MULTIOS) and if there is no match,
issue an error even if NULL_GLOB is in effect.
Diffstat (limited to 'Test/D02glob.ztst')
| -rw-r--r-- | Test/D02glob.ztst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Test/D02glob.ztst b/Test/D02glob.ztst index 1526b6191..33458e3ba 100644 --- a/Test/D02glob.ztst +++ b/Test/D02glob.ztst @@ -541,6 +541,10 @@ >No file beginning with z >Normal string if nullglob not set + echo > glob.tmp/nonexistent(N) +1:redirect to a non-matching pattern is an error even with flag (N) +?(eval):1: redirection failed (no match): glob.tmp/nonexistent(N) + ( setopt extended_glob no_nomatch cd glob.tmp |
