spec test index / oilshell.org
status | ysh | ysh-cpp | |
FAIL | 3 | 3 | |
total | 3 | 3 | |
case | ysh | ysh-cpp | description |
0 | FAIL | FAIL | JSON func on top of proc |
details | details | ||
1 | FAIL | FAIL | QTT func on top of proc |
details | details | ||
2 | FAIL | FAIL | QTT func on top of wok |
details | details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 6 failed, 0 timeouts, 0 cases skipped 3 failed under osh
ysh | 0 JSON func on top of proc [ysh stdout] Expected 'TODO\nresult = 3\n', got '' [ysh status] Expected 0, got 2 stdout: stderr: echo '[1, 2]' | myadd | json read :result ^ [ stdin ]:11: 'json' read got too many args echo '[1, 2]' | myadd | json read :result ^~~~ [ stdin ]:11: errexit PID 13053: command.Simple failed with status 2 json read :args ^ [ stdin ]:2: 'json' read got too many args json read :args ^~~~ [ stdin ]:2: errexit PID 13131: command.Simple failed with status 2 echo '[1, 2]' | myadd | json read :result ^~~~ [ stdin ]:11: errexit PID 13053: command.Pipeline failed with status 2 |
ysh-cpp | 0 JSON func on top of proc [ysh-cpp stdout] Expected 'TODO\nresult = 3\n', got '' [ysh-cpp status] Expected 0, got 2 stdout: stderr: echo '[1, 2]' | myadd | json read :result ^ [ stdin ]:11: 'json' read got too many args json read :args ^ echo '[1, 2]' | myadd | json read :result ^~~~ [ stdin ]:2: 'json' read got too many args [ stdin ]:11: errexit PID 13141: command.Simple failed with status 2 json read :args ^~~~ [ stdin ]:2: errexit PID 13159: command.Simple failed with status 2 echo '[1, 2]' | myadd | json read :result ^~~~ [ stdin ]:11: errexit PID 13141: command.Pipeline failed with status 2 |
ysh | 1 QTT func on top of proc [ysh status] Expected 0, got 2 stdout: stderr: const result = _row->x + _row->y ^~~~~ [ stdin ]:9: const can't be inside proc or func. Use var instead. |
ysh-cpp | 1 QTT func on top of proc [ysh-cpp status] Expected 0, got 2 stdout: stderr: const result = _row->x + _row->y ^~~~~ [ stdin ]:9: const can't be inside proc or func. Use var instead. |
ysh | 2 QTT func on top of wok [ysh status] Expected 0, got 1 stdout: stderr: wok foo { ^ [ stdin ]:1: fatal: Unexpected typed args passed to external command 'wok' |
ysh-cpp | 2 QTT func on top of wok [ysh-cpp status] Expected 0, got 1 stdout: stderr: wok foo { ^ [ stdin ]:1: fatal: Unexpected typed args passed to external command 'wok' |