1
0
Fork 0
bash/tests/errors3.sub
Daniel Baumann fa1b3d3922
Adding upstream version 5.2.37.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 06:49:21 +02:00

7 lines
242 B
Text

# redirection errors with special builtins should exit the shell when in
# Posix mode, not otherwise; being on the LHS of || or && should not make
# a difference
exec 9<no_such_file || echo TEST
set -o posix
exec 9<no_such_file || echo TEST