spec test index / oilshell.org
status | dash | bash | mksh | osh | osh_ALT | |
pass | 15 | 15 | 13 | 15 | 15 | |
ok | 0 | 0 | 2 | 0 | 0 | |
total | 15 | 15 | 15 | 15 | 15 | |
case | dash | bash | mksh | osh | osh_ALT | description |
0 | pass | pass | pass | pass | pass | Empty for loop is allowed |
1 | pass | pass | pass | pass | pass | Empty for loop without in. Do can be on the same line I guess. |
2 | pass | pass | pass | pass | pass | Empty case statement |
3 | pass | pass | pass | pass | pass | Last case without ;; |
4 | pass | pass | pass | pass | pass | Only case without ;; |
5 | pass | pass | pass | pass | pass | Case with optional ( |
6 | pass | pass | ok | pass | pass | Empty action for case is syntax error |
details | ||||||
7 | pass | pass | pass | pass | pass | Empty action is allowed for last case |
8 | pass | pass | pass | pass | pass | Case with | pattern |
9 | pass | pass | ok | pass | pass | Bare semi-colon not allowed |
details | ||||||
10 | pass | pass | pass | pass | pass | Command substitution in default |
11 | pass | pass | pass | pass | pass | Arithmetic expansion |
12 | pass | pass | pass | pass | pass | Newlines in compound lists |
13 | pass | pass | pass | pass | pass | Multiple here docs on one line |
14 | pass | pass | pass | pass | pass | cat here doc; echo; cat here doc |
73 passed, 2 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
mksh | 6 Empty action for case is syntax error stdout: stderr: mksh: <stdin>[4]: syntax error: ')' unexpected |
mksh | 9 Bare semi-colon not allowed stdout: stderr: mksh: <stdin>[1]: syntax error: ';' unexpected |