hush: rename hush-redir/redir3.tests (ash has redir3.tests which id different)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
9
shell/hush_test/hush-redir/redir_errors.tests
Executable file
9
shell/hush_test/hush-redir/redir_errors.tests
Executable file
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user