busybox/shell/ash_test/ash-parsing/eol1.tests
Denys Vlasenko e34dbc4fdc ash: add all hush parsing tests to ast tests
All pass.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-07-24 02:49:56 +02:00

19 lines
325 B
Plaintext
Executable File

# bug was that we treated <newline> as ';' in this line:
true || echo foo |
echo BAD1 | cat
# variation on the same theme
true || echo foo |
# comment
echo BAD2 | cat
# variation on the same theme
true || echo foo |
echo BAD3 | cat
# this should error out, but currently works in hush:
#true || echo foo |;
echo Done:$?