ysh-builtin-shopt () { run-file ysh-builtin-shopt "$@" } run-file () { local spec_name=$1; shift; sh-spec spec/$spec_name.test.sh --compare-shells --oils-bin-dir $PWD/bin "$@" }
spec test index / oilshell.org
status | osh | |
pass | 8 | |
FAIL | 1 | |
total | 9 | |
case | osh | description |
0 | pass | shopt supports long flags |
1 | pass | shopt supports 'set' options |
2 | pass | shopt --unset errexit { } |
3 | pass | shopt -p works correctly inside block |
4 | pass | shopt --set GROUP { } |
5 | pass | shopt and block status |
6 | pass | shopt usage error |
7 | pass | shopt -p |
8 | FAIL | TODO: all options as a table |
details |
8 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh | 8 TODO: all options as a table [osh status] Expected 0, got 2 stdout: stderr: shopt --table ^~~~~~~ [ stdin ]:1: 'shopt' got invalid flag '--table' |