diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-06 18:16:18 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-06 18:16:18 +0200 |
commit | 959cb6742832a3b403a5d0116088a09f33afe927 (patch) | |
tree | 17235c2edd88fe4c902980178a9c5442f15ae7b8 | |
parent | 9a8ece51582b83a2d4ed3e1854dca703d5113da2 (diff) | |
download | busybox-w32-959cb6742832a3b403a5d0116088a09f33afe927.tar.gz busybox-w32-959cb6742832a3b403a5d0116088a09f33afe927.tar.bz2 busybox-w32-959cb6742832a3b403a5d0116088a09f33afe927.zip |
shell: syncronize ash and hush heredoc1.tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | shell/ash_test/ash-heredoc/heredoc1.right | 6 | ||||
-rwxr-xr-x | shell/ash_test/ash-heredoc/heredoc1.tests | 12 | ||||
-rw-r--r-- | shell/ash_test/ash-heredoc/heredoc8.right | 1 | ||||
-rwxr-xr-x | shell/ash_test/ash-heredoc/heredoc8.tests | 3 | ||||
-rw-r--r-- | shell/hush_test/hush-heredoc/heredoc8.right | 1 | ||||
-rwxr-xr-x | shell/hush_test/hush-heredoc/heredoc8.tests | 3 |
6 files changed, 22 insertions, 4 deletions
diff --git a/shell/ash_test/ash-heredoc/heredoc1.right b/shell/ash_test/ash-heredoc/heredoc1.right index 40aa5a5fe..7fc68f3e1 100644 --- a/shell/ash_test/ash-heredoc/heredoc1.right +++ b/shell/ash_test/ash-heredoc/heredoc1.right | |||
@@ -1 +1,5 @@ | |||
1 | ./heredoc1.tests: line 3: syntax error: unexpected "then" | 1 | qwe |
2 | asd | ||
3 | 123 | ||
4 | 456 | ||
5 | Ok | ||
diff --git a/shell/ash_test/ash-heredoc/heredoc1.tests b/shell/ash_test/ash-heredoc/heredoc1.tests index a912a67c7..2eeb4726b 100755 --- a/shell/ash_test/ash-heredoc/heredoc1.tests +++ b/shell/ash_test/ash-heredoc/heredoc1.tests | |||
@@ -1,3 +1,9 @@ | |||
1 | # We used to SEGV on this: | 1 | cat <<000; cat <<www; cat <<eee |
2 | 2 | 000 | |
3 | <<EOF; then <W | 3 | qwe |
4 | asd | ||
5 | www | ||
6 | 123 | ||
7 | 456 | ||
8 | eee | ||
9 | echo Ok | ||
diff --git a/shell/ash_test/ash-heredoc/heredoc8.right b/shell/ash_test/ash-heredoc/heredoc8.right new file mode 100644 index 000000000..af396660e --- /dev/null +++ b/shell/ash_test/ash-heredoc/heredoc8.right | |||
@@ -0,0 +1 @@ | |||
./heredoc8.tests: line 3: syntax error: unexpected "then" | |||
diff --git a/shell/ash_test/ash-heredoc/heredoc8.tests b/shell/ash_test/ash-heredoc/heredoc8.tests new file mode 100755 index 000000000..f7bc0737a --- /dev/null +++ b/shell/ash_test/ash-heredoc/heredoc8.tests | |||
@@ -0,0 +1,3 @@ | |||
1 | # ash used to SEGV on this: | ||
2 | |||
3 | <<EOF; then <W | ||
diff --git a/shell/hush_test/hush-heredoc/heredoc8.right b/shell/hush_test/hush-heredoc/heredoc8.right new file mode 100644 index 000000000..558858f47 --- /dev/null +++ b/shell/hush_test/hush-heredoc/heredoc8.right | |||
@@ -0,0 +1 @@ | |||
hush: syntax error at 'then' | |||
diff --git a/shell/hush_test/hush-heredoc/heredoc8.tests b/shell/hush_test/hush-heredoc/heredoc8.tests new file mode 100755 index 000000000..f7bc0737a --- /dev/null +++ b/shell/hush_test/hush-heredoc/heredoc8.tests | |||
@@ -0,0 +1,3 @@ | |||
1 | # ash used to SEGV on this: | ||
2 | |||
3 | <<EOF; then <W | ||