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

7 lines
241 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; true; } >tmp_$$.out
cat tmp_$$.out
rm -f tmp_$$.out