summaryrefslogtreecommitdiffhomepage
path: root/shell/ash_test/ash-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