Gitiles
Code Review
Sign In
gerrit.nordix.org
/
codeaurora
/
busybox
/
d2241f59022c38d4b171e56eea42e216ecccfdd9
/
.
/
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