~mmach/netext73/busybox

« back to all changes in this revision

Viewing changes to shell/hush_test/hush-redir/redir_children_should_not_see_saved_fd_3.tests

  • Committer: mmach
  • Date: 2021-04-14 13:54:24 UTC
  • Revision ID: netbit73@gmail.com-20210414135424-8x3fxf716zs4wflb
1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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; true; } >tmp_$$.out
 
5
cat tmp_$$.out
 
6
rm -f tmp_$$.out