From 1ba0fff93cc1aea65b61eacef32c6cefe8d7b7c8 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Sat, 2 Dec 2023 15:14:12 -0800 Subject: [PATCH] 52360: simplify and improve bad-descriptor detection in %prep section --- ChangeLog | 6 ++++++ Test/A04redirect.ztst | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d75b64da2..337ea6fb2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2023-12-02 Bart Schaefer + + * 52360: Test/A04redirect.ztst: Simplify bad-descriptor check in + %prep -- avoids accidentally using an open descriptor (derived + from German Riano: 52328) + 2023-11-29 Bart Schaefer * Sebastian Gniazdowski: 52145: Functions/Prompts/prompt_sprint2_setup: diff --git a/Test/A04redirect.ztst b/Test/A04redirect.ztst index 17f6dfa29..dc62efab3 100644 --- a/Test/A04redirect.ztst +++ b/Test/A04redirect.ztst @@ -3,9 +3,8 @@ %prep mkdir redir.tmp && cd redir.tmp - myfd=99 - (echo >&$myfd) 2>msg - bad_fd_msg="${$(