Gitiles
Code Review
Sign In
gerrit.nordix.org
/
codeaurora
/
busybox
/
e789c3bea18181723c4ae7d761ec30926d182cfb
/
.
/
shell
/
hush_test
/
hush-redir
/
redir.tests
blob: 7a1a6680661aa57a10748f1c29f7393f1aa37d56 [
file
] [
log
] [
blame
]
Denys Vlasenko
621fc50
2017-07-24 12:42:17 +0200
[
diff
] [
blame
]
1
# test: closed fds should stay closed
2
exec
1
>&-
3
echo TEST
>
TEST
4
echo JUNK
# lost: stdout is closed
5
cat TEST
>&
2
6
rm TEST