spec test index / oilshell.org
status | osh | |
FAIL | 4 | |
total | 4 | |
case | osh | description |
0 | FAIL | ... with simple command |
details | ||
1 | FAIL | ... with pipeline |
details | ||
2 | FAIL | ... with comment sub |
details | ||
3 | FAIL | ... with && and [[ |
details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped 4 failed under osh
osh | 0 ... with simple command [osh stdout] Expected 'hi there\n', got '' [osh status] Expected 0, got 2 stdout: stderr: ... echo # comment ^~~ [ stdin ]:1: '...' not found hi # comment ^~ [ stdin ]:2: 'hi' not found there ^~~~~ [ stdin ]:3: 'there' not found ; ^ [ stdin ]:4: Invalid word while parsing command |
osh | 1 ... with pipeline [osh stdout] Expected '2\n', got '' [osh status] Expected 0, got 2 stdout: stderr: ... { echo one; echo two; } ^ [ stdin ]:1: Unexpected right brace |
osh | 2 ... with comment sub [osh stdout] Expected '2\n', got 'one two\n' [osh status] Expected 0, got 2 stdout: one twostderr: ... echo ^~~ [ stdin ]:3: '...' not found $(echo 3 ^~ [ stdin ]:4: '3' not found | wc -l ^ [ stdin ]:6: Invalid word while parsing command |
osh | 3 ... with && and [[ [osh stdout] Expected 'one\ntwo\n', got '1\nend\n' [osh status] Expected 0, got 2 stdout: 1 endstderr: ... echo one ^~~ [ stdin ]:2: '...' not found && [[ 0 -eq 0 ]] ^~ [ stdin ]:3: Invalid word while parsing command |