ash: fix redirection of fd 0 in scripts are sourced from interactive ash
[oweals/busybox.git] / shell / ash_test / ash-redir / redir3.tests
1 # redirects to closed descriptors should not leave these descriptors
2 # open afterwards
3 echo TEST 9>/dev/null
4 echo MUST ERROR OUT >&9
5 echo "Output to fd#9: $?"