busybox/shell/hush_test/hush-redir/redir_children_should_not_see_saved_fd_1.tests

7 lines
230 B
Plaintext
Raw Normal View History

# The "find" should not see "saved" (duplicated) fd #1
# Explicitly use bbox find, since other implementations of "find"
# may open other descriptors as well.
busybox find /proc/self/fd >tmp_$$.out
cat tmp_$$.out
rm -f tmp_$$.out