aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-08 09:29:14 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-08 09:29:14 +0000
commit3dfb035d8df33e59492e78a97bf42e961ba178e4 (patch)
tree78ce918f14531d99a0b95a205a7984823ed4ad6b /shell/hush_test
parentdf6f95cedf4fe621048647f869db45daa7e5975a (diff)
downloadbusybox-3dfb035d8df33e59492e78a97bf42e961ba178e4.tar.gz
hush: echo \2>file fix
Diffstat (limited to 'shell/hush_test')
-rw-r--r--shell/hush_test/hush-misc/heredoc2.right1
-rwxr-xr-xshell/hush_test/hush-misc/heredoc2.tests1
-rw-r--r--shell/hush_test/hush-misc/heredoc3.right1
-rwxr-xr-xshell/hush_test/hush-misc/heredoc3.tests1
-rw-r--r--shell/hush_test/hush-misc/redir2.right1
-rwxr-xr-xshell/hush_test/hush-misc/redir2.tests2
6 files changed, 7 insertions, 0 deletions
diff --git a/shell/hush_test/hush-misc/heredoc2.right b/shell/hush_test/hush-misc/heredoc2.right
index 66545ae76..74110e3b5 100644
--- a/shell/hush_test/hush-misc/heredoc2.right
+++ b/shell/hush_test/hush-misc/heredoc2.right
@@ -6,3 +6,4 @@ moo
EOF-f
EOF-f f
EOF-f
+Ok
diff --git a/shell/hush_test/hush-misc/heredoc2.tests b/shell/hush_test/hush-misc/heredoc2.tests
index 19d9c9681..e619bded1 100755
--- a/shell/hush_test/hush-misc/heredoc2.tests
+++ b/shell/hush_test/hush-misc/heredoc2.tests
@@ -9,3 +9,4 @@ echo `echo Hello World`
EOF-f f
EOF-f
EOF-f
+echo Ok
diff --git a/shell/hush_test/hush-misc/heredoc3.right b/shell/hush_test/hush-misc/heredoc3.right
index 9b114fabf..6ed517f74 100644
--- a/shell/hush_test/hush-misc/heredoc3.right
+++ b/shell/hush_test/hush-misc/heredoc3.right
@@ -6,3 +6,4 @@ moo
EOF-f
EOF-f f
EOF-f
+Ok
diff --git a/shell/hush_test/hush-misc/heredoc3.tests b/shell/hush_test/hush-misc/heredoc3.tests
index 6391e49f9..938577a89 100755
--- a/shell/hush_test/hush-misc/heredoc3.tests
+++ b/shell/hush_test/hush-misc/heredoc3.tests
@@ -9,3 +9,4 @@ echo `echo Hello World`
EOF-f f
EOF-f
EOF-f
+echo Ok
diff --git a/shell/hush_test/hush-misc/redir2.right b/shell/hush_test/hush-misc/redir2.right
new file mode 100644
index 000000000..7326d9603
--- /dev/null
+++ b/shell/hush_test/hush-misc/redir2.right
@@ -0,0 +1 @@
+Ok
diff --git a/shell/hush_test/hush-misc/redir2.tests b/shell/hush_test/hush-misc/redir2.tests
new file mode 100755
index 000000000..81983cae2
--- /dev/null
+++ b/shell/hush_test/hush-misc/redir2.tests
@@ -0,0 +1,2 @@
+echo NOT SHOWN \2>/dev/null
+echo Ok