shell: syncronize ash and hush heredoc1.tests

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2017-07-06 18:16:18 +02:00
parent 9a8ece5158
commit 959cb67428
6 changed files with 22 additions and 4 deletions

View File

@ -1 +1,5 @@
./heredoc1.tests: line 3: syntax error: unexpected "then"
qwe
asd
123
456
Ok

View File

@ -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

View File

@ -0,0 +1 @@
./heredoc8.tests: line 3: syntax error: unexpected "then"

View File

@ -0,0 +1,3 @@
# ash used to SEGV on this:
<<EOF; then <W

View File

@ -0,0 +1 @@
hush: syntax error at 'then'

View File

@ -0,0 +1,3 @@
# ash used to SEGV on this:
<<EOF; then <W