busybox/shell/ash_test/ash-redir/redir3.tests

6 lines
159 B
Plaintext
Executable File

# 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: $?"