spec test index / oilshell.org
status | osh | osh_.py | osh_.cc | |
pass | 12 | 11 | 12 | |
FAIL | 1 | 2 | 1 | |
total | 13 | 13 | 13 | |
case | osh | osh_.py | osh_.cc | description |
0 | pass | pass | pass | sh -c |
1 | pass | pass | pass | empty -c input |
2 | pass | pass | pass | sh +c is accepted |
3 | pass | pass | pass | empty stdin |
4 | FAIL | FAIL | pass | shell obeys --help (regression for OSH) |
details | details | |||
5 | pass | pass | pass | args are passed |
6 | pass | pass | pass | args that look like flags are passed after script |
7 | pass | pass | pass | args that look like flags are passed after -c |
8 | pass | pass | pass | exit with explicit arg |
9 | pass | pass | pass | exit with no args |
10 | pass | FAIL | FAIL | --rcfile in non-interactive shell prints warnings |
details | details | |||
11 | pass | pass | pass | accepts -l flag |
12 | pass | pass | pass | accepts --login flag (dash and mksh don't accept long flags) |
35 passed, 0 OK, 0 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh | 4 shell obeys --help (regression for OSH) [osh stdout] Expected 'yes\n', got '' stdout: stderr: [??? no location ???] no help topics match 'osh-usage' |
osh_.py | 4 shell obeys --help (regression for OSH) [osh_.py stdout] Expected 'yes\n', got '' stdout: stderr: [??? no location ???] no help topics match 'osh-usage' |
osh_.py | 10 --rcfile in non-interactive shell prints warnings [osh_.py stderr] Expected 'warned=1\nwarned=0\n', got 'warned=1\nwarned=1\n' stdout: ==> interactive.txt <== osh fatal error: ==> non-interactive.txt <==stderr: warned=1 warned=1 |
osh_.cc | 10 --rcfile in non-interactive shell prints warnings [osh_.cc stderr] Expected 'warned=1\nwarned=0\n', got 'warned=1\nwarned=1\n' stdout: ==> interactive.txt <== terminate called after throwing an instance of 'NotImplementedError*' ==> non-interactive.txt <==stderr: warned=1 warned=1 |