spec test index / oilshell.org
| status | dash | bash | mksh | osh | |
| pass | 9 | 10 | 8 | 11 | |
| N-I | 2 | 1 | 3 | 0 | |
| total | 11 | 11 | 11 | 11 | |
| case | dash | bash | mksh | osh | description |
| 0 | pass | pass | pass | pass | sh -c |
| 1 | pass | pass | pass | pass | empty -c input |
| 2 | pass | pass | N-I | pass | sh +c is accepted |
| details | |||||
| 3 | pass | pass | pass | pass | empty stdin |
| 4 | N-I | pass | N-I | pass | shell obeys --help (regression for OSH) |
| details | details | ||||
| 5 | pass | pass | pass | pass | args are passed |
| 6 | pass | pass | pass | pass | args that look like flags are passed after script |
| 7 | pass | pass | pass | pass | args that look like flags are passed after -c |
| 8 | pass | pass | pass | pass | exit with explicit arg |
| 9 | pass | pass | pass | pass | exit with no args |
| 10 | N-I | N-I | N-I | pass | --rcfile in non-interactive shell prints warnings |
| details | details | details |
38 passed, 0 OK, 6 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
| mksh | 2 sh +c is accepted stdout: stderr: mksh: echo hi: No such file or directory |
| dash | 4 shell obeys --help (regression for OSH) stdout: stderr: dash: 0: Illegal option -- |
| mksh | 4 shell obeys --help (regression for OSH) stdout: stderr: mksh: mksh: --: unknown option |
| dash | 10 --rcfile in non-interactive shell prints warnings stdout: ==> interactive.txt <== dash: 0: Illegal option -- ==> non-interactive.txt <== dash: 0: Illegal option --stderr: warned=1 warned=1 |
| bash | 10 --rcfile in non-interactive shell prints warnings stdout: rc ==> interactive.txt <== bash-4.4$ exit ==> non-interactive.txt <==stderr: warned=1 warned=1 |
| mksh | 10 --rcfile in non-interactive shell prints warnings stdout: ==> interactive.txt <== mksh: mksh: --: unknown option ==> non-interactive.txt <== mksh: mksh: --: unknown optionstderr: warned=1 warned=1 |