Gitiles
Code Review
Sign In
gerrit.nordix.org
/
codeaurora
/
busybox
/
e3354bc44aa92c20bec0ffdc78e6b57351e8f16d
/
.
/
shell
/
ash_test
/
ash-redir
/
redir.tests
blob: 7a1a6680661aa57a10748f1c29f7393f1aa37d56 [
file
] [
log
] [
blame
]
Denis Vlasenko
65eb550
2008-02-13 18:10:46 +0000
[
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