shell/ash_test/ash-heredoc/heredoc1.right+5 -1
| @@ -1 +1,5 @@ |
| - | ./heredoc1.tests: line 3: syntax error: unexpected "then" |
| + | qwe |
| + | asd |
| + | 123 |
| + | 456 |
| + | Ok |
shell/ash_test/ash-heredoc/heredoc1.tests+9 -3
| @@ -1,3 +1,9 @@ |
| - | # We used to SEGV on this: |
| - | |
| - | <<EOF; then <W |
| + | cat <<000; cat <<www; cat <<eee |
| + | 000 |
| + | qwe |
| + | asd |
| + | www |
| + | 123 |
| + | 456 |
| + | eee |
| + | echo Ok |
shell/ash_test/ash-heredoc/heredoc8.right+1 -0
| @@ -0,0 +1 @@ |
| + | ./heredoc8.tests: line 3: syntax error: unexpected "then" |
shell/ash_test/ash-heredoc/heredoc8.tests+3 -0
| @@ -0,0 +1,3 @@ |
| + | # ash used to SEGV on this: |
| + | |
| + | <<EOF; then <W |
shell/hush_test/hush-heredoc/heredoc8.right+1 -0
| @@ -0,0 +1 @@ |
| + | hush: syntax error at 'then' |
shell/hush_test/hush-heredoc/heredoc8.tests+3 -0
| @@ -0,0 +1,3 @@ |
| + | # ash used to SEGV on this: |
| + | |
| + | <<EOF; then <W |