Welcome to mirror list, hosted at ThFree Co, Russian Federation.

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.
summaryrefslogtreecommitdiff
blob: 43777cade0fdafd87ad0deca8946fef6d2662e6e (plain)
1
2
3
4
5
6
# 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