aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-redir/redir3.tests
blob: e37d5e45a874043ea785ea828ec7fa7e1aef6ea0 (plain)
1
2
3
4
5
# redirects to closed descriptors should not leave these descriptors
# open afterwards
echo TEST 9>/dev/null
echo MUST ERROR OUT >&9
echo "Output to fd#9: $?"