aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-redir/redir3.tests
blob: 7c28e4324bd182cee020e59d472df802a558a62f (plain)
1
2
3
4
5
6
7
8
9
echo Error >/does/not/exist; echo One:$?
t=BAD
t=Ok >>/cant/be/created; echo One:$?
echo $t
! >/cant/be/created; echo Zero:$?
exec >/cant/be/created; echo One:$?
exec /bin/true >/cant/be/created; echo One:$?
! exec /bin/true >/cant/be/created; echo Zero:$?
echo Done