]> git.ipfire.org Git - thirdparty/bash.git/blob - tests/errors3.sub
Bash-4.3 patch 7
[thirdparty/bash.git] / tests / errors3.sub
1 # redirection errors with special builtins should exit the shell when in
2 # Posix mode, not otherwise; being on the LHS of || or && should not make
3 # a difference
4
5 exec 9<no_such_file || echo TEST
6 set -o posix
7 exec 9<no_such_file || echo TEST