/home/uke/oil/bin/osh
| status | osh | |
| pass | 16 | |
| ok | 1 | |
| total | 17 | |
| case | osh | description |
| 0 | pass | sh -c |
| 1 | pass | empty -c input |
| 2 | pass | sh +c is accepted |
| 3 | pass | empty stdin |
| 4 | ok | sh - and sh -- stop flag processing |
| details | ||
| 5 | pass | shell obeys --help (regression for OSH) |
| 6 | pass | args are passed |
| 7 | pass | args that look like flags are passed after script |
| 8 | pass | args that look like flags are passed after -c |
| 9 | pass | exit with explicit arg |
| 10 | pass | exit with no args |
| 11 | pass | --rcfile in non-interactive shell prints warnings |
| 12 | pass | accepts -l flag |
| 13 | pass | accepts --login flag (dash and mksh don't accept long flags) |
| 14 | pass | osh --eval |
| 15 | pass | Set LC_ALL LC_CTYPE LC_COLLATE LANG - affects glob ? |
| 16 | pass | LC_CTYPE=invalid |
16 passed, 1 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 sh - and sh -- stop flag processing stdout: foo - foostderr: + echo foo - + echo foo |
| osh | 5 shell obeys --help (regression for OSH) stdout: yesstderr: |
| osh | 6 args are passed stdout: ['a', 'b']stderr: |
| osh | 7 args that look like flags are passed after script stdout: ['--help', '--help', '-h']stderr: |
| osh | 8 args that look like flags are passed after -c stdout: ['--help', '-h']stderr: |
| osh | 9 exit with explicit arg stdout: stderr: |
| osh | 10 exit with no args stdout: stderr: |
| osh | 11 --rcfile in non-interactive shell prints warnings stdout: rc ^D ==> interactive.txt <== osh-0.36$ ==> non-interactive.txt <== osh warning: --rcfile ignored in non-interactive shellstderr: warned=1 warned=0 |
| osh | 12 accepts -l flag stdout: stderr: |
| osh | 13 accepts --login flag (dash and mksh don't accept long flags) stdout: stderr: |
| osh | 14 osh --eval stdout: one x y z status=0 flag -c x y z one x y z fail x y z status=42 flag -c x y z status=0stderr: |
| osh | 15 Set LC_ALL LC_CTYPE LC_COLLATE LANG - affects glob ? stdout: LC_ALL _x_ LC_ALL _x_ _μ_ LC_CTYPE _x_ LC_CTYPE _x_ _μ_ LC_COLLATE _x_ LC_COLLATE _x_ LANG _x_ LANG _x_ _μ_stderr: |
| osh | 16 LC_CTYPE=invalid stdout: LC_CTYPE _x_ 1 err.txtstderr: |