aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-parsing/eol1.tests
blob: f1b55e8b835cd5f76c11b1275c18c04ae951cd04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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:$?