redir_children_should_not_see_saved_fd_2.tests « hush-redir « hush_test « shell - git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
# 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