| status | osh | osh-cpp | |
| pass | 9 | 7 | |
| FAIL | 0 | 2 | |
| total | 9 | 9 | |
| case | osh | osh-cpp | description |
| 0 | pass | pass | ... with simple command |
| 1 | pass | pass | ... with pipeline |
| 2 | pass | FAIL | ... with multiline $() |
| details | |||
| 3 | pass | FAIL | ... inside command sub $() |
| details | |||
| 4 | pass | pass | ... with && and [[ |
| 5 | pass | pass | '... for' is allowed, but NOT recommended |
| 6 | pass | pass | Blank line in multiline command is syntax error |
| 7 | pass | pass | Blank line with spaces and tabs isn't OK either |
| 8 | pass | pass | Combine multi-line command and strings |
16 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
| osh-cpp | 2 ... with multiline $() [osh-cpp stdout] Expected 'one two\n1\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: echo two)
^
[ stdin ]:2: Invalid word while parsing command list
|
| osh-cpp | 3 ... inside command sub $() [osh-cpp stdout] Expected 'one two three four\nfive\n' Got '' [osh-cpp status] Expected 0 Got 2 stdout: stderr: three) four
^
[ stdin ]:3: Invalid word while parsing command list
|