eol1.tests 325 B

123456789101112131415161718
  1. # bug was that we treated <newline> as ';' in this line:
  2. true || echo foo |
  3. echo BAD1 | cat
  4. # variation on the same theme
  5. true || echo foo |
  6. # comment
  7. echo BAD2 | cat
  8. # variation on the same theme
  9. true || echo foo |
  10. echo BAD3 | cat
  11. # this should error out, but currently works in hush:
  12. #true || echo foo |;
  13. echo Done:$?