data/method/busybox/busybox-1.36.0/shell/hush_test/hush-redir/redir.tests

7 lines
120 B
Plaintext
Executable File

# test: closed fds should stay closed
exec 1>&-
echo TEST >TEST
echo JUNK # lost: stdout is closed
cat TEST >&2
rm TEST