spec test index / oilshell.org
| status | osh | osh_.py | osh_.cc | |
| pass | 15 | 15 | 12 | |
| FAIL | 0 | 0 | 3 | |
| total | 15 | 15 | 15 | |
| case | osh | osh_.py | osh_.cc | description |
| 0 | pass | pass | pass | Empty for loop is allowed |
| 1 | pass | pass | pass | Empty for loop without in. Do can be on the same line I guess. |
| 2 | pass | pass | pass | Empty case statement |
| 3 | pass | pass | pass | Last case without ;; |
| 4 | pass | pass | pass | Only case without ;; |
| 5 | pass | pass | pass | Case with optional ( |
| 6 | pass | pass | pass | Empty action for case is syntax error |
| 7 | pass | pass | pass | Empty action is allowed for last case |
| 8 | pass | pass | pass | Case with | pattern |
| 9 | pass | pass | pass | Bare semi-colon not allowed |
| 10 | pass | pass | FAIL | Command substitution in default |
| details | ||||
| 11 | pass | pass | pass | Arithmetic expansion |
| 12 | pass | pass | pass | Newlines in compound lists |
| 13 | pass | pass | FAIL | Multiple here docs on one line |
| details | ||||
| 14 | pass | pass | FAIL | cat here doc; echo; cat here doc |
| details |
42 passed, 0 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped
| osh_.cc | 10 Command substitution in default [osh_.cc stdout] Expected '/bin\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
| osh_.cc | 13 Multiple here docs on one line [osh_.cc stdout] Expected u'one\ntwo\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
| osh_.cc | 14 cat here doc; echo; cat here doc [osh_.cc stdout] Expected 'one\ntwo\nthree\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |