summaryrefslogtreecommitdiffhomepage
path: root/shell/hush_test/hush-redir/redir.tests
blob: 7a1a6680661aa57a10748f1c29f7393f1aa37d56 (plain)
1
2
3
4
5
6
# test: closed fds should stay closed
exec 1>&-
echo TEST >TEST
echo JUNK # lost: stdout is closed
cat TEST >&2
rm TEST