diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-08 09:29:14 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-08 09:29:14 +0000 |
commit | 3dfb035d8df33e59492e78a97bf42e961ba178e4 (patch) | |
tree | 78ce918f14531d99a0b95a205a7984823ed4ad6b /shell/hush_test | |
parent | df6f95cedf4fe621048647f869db45daa7e5975a (diff) | |
download | busybox-w32-3dfb035d8df33e59492e78a97bf42e961ba178e4.tar.gz busybox-w32-3dfb035d8df33e59492e78a97bf42e961ba178e4.tar.bz2 busybox-w32-3dfb035d8df33e59492e78a97bf42e961ba178e4.zip |
hush: echo \2>file fix
Diffstat (limited to 'shell/hush_test')
-rw-r--r-- | shell/hush_test/hush-misc/heredoc2.right | 1 | ||||
-rwxr-xr-x | shell/hush_test/hush-misc/heredoc2.tests | 1 | ||||
-rw-r--r-- | shell/hush_test/hush-misc/heredoc3.right | 1 | ||||
-rwxr-xr-x | shell/hush_test/hush-misc/heredoc3.tests | 1 | ||||
-rw-r--r-- | shell/hush_test/hush-misc/redir2.right | 1 | ||||
-rwxr-xr-x | shell/hush_test/hush-misc/redir2.tests | 2 |
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 | |||
6 | EOF-f | 6 | EOF-f |
7 | EOF-f f | 7 | EOF-f f |
8 | EOF-f | 8 | EOF-f |
9 | 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` | |||
9 | EOF-f f | 9 | EOF-f f |
10 | EOF-f | 10 | EOF-f |
11 | EOF-f | 11 | EOF-f |
12 | 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 | |||
6 | EOF-f | 6 | EOF-f |
7 | EOF-f f | 7 | EOF-f f |
8 | EOF-f | 8 | EOF-f |
9 | 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` | |||
9 | EOF-f f | 9 | EOF-f f |
10 | EOF-f | 10 | EOF-f |
11 | EOF-f | 11 | EOF-f |
12 | 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 @@ | |||
1 | echo NOT SHOWN \2>/dev/null | ||
2 | echo Ok | ||