From 3e72a52e27d8ce8d8be0ee65ae5f77f756c06fda Mon Sep 17 00:00:00 2001 From: Jun-ichi Takimoto Date: Sun, 21 Dec 2025 12:46:04 +0900 Subject: 53959+54149: fix a bug when redirecting to a pattern with no match when redirecting to/from a pattern (MULTIOS) and if there is no match, issue an error even if NULL_GLOB is in effect. --- Test/D02glob.ztst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Test') 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 -- cgit v1.2.3-70-g09d2