redir_children_should_not_see_saved_fd_2.tests 235 B

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