spec test index / oilshell.org
status | osh | osh_.py | osh_.cc | |
pass | 13 | 12 | 12 | |
FAIL | 0 | 1 | 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 | pass | pass | pass | shell obeys --help (regression for OSH) |
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) |
37 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped
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 |