mirror of
https://github.com/sheumann/hush.git
synced 2024-11-09 02:09:01 +00:00
7b4c0fd5f4
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
19 lines
325 B
Plaintext
Executable File
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:$?
|