/home/uke/oil/bin/osh
spec test index / oilshell.org
status | osh | |
pass | 13 | |
total | 13 | |
case | osh | description |
0 | pass | sh -c |
1 | pass | empty -c input |
2 | pass | sh +c is accepted |
3 | pass | empty stdin |
4 | pass | shell obeys --help (regression for OSH) |
5 | pass | args are passed |
6 | pass | args that look like flags are passed after script |
7 | pass | args that look like flags are passed after -c |
8 | pass | exit with explicit arg |
9 | pass | exit with no args |
10 | pass | --rcfile in non-interactive shell prints warnings |
11 | pass | accepts -l flag |
12 | pass | accepts --login flag (dash and mksh don't accept long flags) |
13 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
osh | 0 sh -c stdout: histderr: |
osh | 1 empty -c input stdout: stderr: |
osh | 2 sh +c is accepted stdout: histderr: |
osh | 3 empty stdin stdout: stderr: |
osh | 4 shell obeys --help (regression for OSH) stdout: yesstderr: |
osh | 5 args are passed stdout: ['a', 'b']stderr: |
osh | 6 args that look like flags are passed after script stdout: ['--help', '--help', '-h']stderr: |
osh | 7 args that look like flags are passed after -c stdout: ['--help', '-h']stderr: |
osh | 8 exit with explicit arg stdout: stderr: |
osh | 9 exit with no args stdout: stderr: |
osh | 10 --rcfile in non-interactive shell prints warnings stdout: rc ^D ==> interactive.txt <== osh-0.24.0$ ==> non-interactive.txt <== osh warning: --rcfile ignored in non-interactive shellstderr: warned=1 warned=0 |
osh | 11 accepts -l flag stdout: stderr: |
osh | 12 accepts --login flag (dash and mksh don't accept long flags) stdout: stderr: |