hush/shell/ash_test/ash-redir/redir.tests

7 lines
120 B
Plaintext
Raw Normal View History

# test: closed fds should stay closed
exec 1>&-
echo TEST >TEST
echo JUNK # lost: stdout is closed
cat TEST >&2
rm TEST