aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test
diff options
context:
space:
mode:
authorAndreas Bühmann <buehmann@users.berlios.de>2010-06-24 04:32:37 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-06-24 04:32:37 +0200
commitda75f4484469ca0122b80de69bf3b75a6be71efc (patch)
tree8b7f6f1b13b0692e827a59abd8e6fa4257a6f4d3 /shell/ash_test
parent1b8e2b0e7620c5f80d93f4b7a5a225afe76c65da (diff)
downloadbusybox-da75f4484469ca0122b80de69bf3b75a6be71efc.tar.gz
ash: <> redir should not truncate
Signed-off-by: Andreas Bühmann <buehmann@users.berlios.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test')
-rw-r--r--shell/ash_test/ash-redir/redir9.right2
-rw-r--r--shell/ash_test/ash-redir/redir9.tests4
2 files changed, 6 insertions, 0 deletions
diff --git a/shell/ash_test/ash-redir/redir9.right b/shell/ash_test/ash-redir/redir9.right
new file mode 100644
index 000000000..34c2512e4
--- /dev/null
+++ b/shell/ash_test/ash-redir/redir9.right
@@ -0,0 +1,2 @@
+Ok
+Done:0
diff --git a/shell/ash_test/ash-redir/redir9.tests b/shell/ash_test/ash-redir/redir9.tests
new file mode 100644
index 000000000..8befa611c
--- /dev/null
+++ b/shell/ash_test/ash-redir/redir9.tests
@@ -0,0 +1,4 @@
+echo Ok >file.tmp
+cat 0<>file.tmp
+echo Done:$?
+rm file.tmp