ash: fix a SEGV case in an invalid heredoc
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
1
shell/ash_test/ash-heredoc/heredoc1.right
Normal file
1
shell/ash_test/ash-heredoc/heredoc1.right
Normal file
@@ -0,0 +1 @@
|
||||
heredoc1.tests: line 3: syntax error: unexpected "then"
|
3
shell/ash_test/ash-heredoc/heredoc1.tests
Executable file
3
shell/ash_test/ash-heredoc/heredoc1.tests
Executable file
@@ -0,0 +1,3 @@
|
||||
# We used to SEGV on this:
|
||||
|
||||
<<EOF; then <W
|
Reference in New Issue
Block a user