spec test index / oilshell.org
status | osh | |
pass | 6 | |
FAIL | 3 | |
total | 9 | |
case | osh | description |
0 | FAIL | shopt supports long flags |
details | ||
1 | pass | shopt supports 'set' options |
2 | pass | shopt --unset errexit { } |
3 | pass | shopt -p works correctly inside block |
4 | FAIL | shopt --set GROUP { } |
details | ||
5 | pass | shopt and block status |
6 | pass | shopt usage error |
7 | pass | shopt -p |
8 | FAIL | TODO: all options as a table |
details |
6 passed, 0 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
osh | 0 shopt supports long flags [osh status] Expected 0, got 1 stdout: shopt -u nullglob shopt -s nullglob shopt -u nullglobstderr: |
osh | 4 shopt --set GROUP { } [osh stdout] Expected 'shopt -u command_sub_errexit\nshopt -u inherit_errexit\nshopt -u strict_errexit\nshopt -u verbose_errexit\n---\nshopt -s command_sub_errexit\nshopt -s inherit_errexit\nshopt -s strict_errexit\nshopt -s verbose_errexit\n---\nshopt -s command_sub_errexit\nshopt -s inherit_errexit\nshopt -u strict_errexit\nshopt -s verbose_errexit\n---\nshopt -u command_sub_errexit\nshopt -u inherit_errexit\nshopt -s strict_errexit\nshopt -u verbose_errexit\n' Got 'shopt -u command_sub_errexit\nshopt -u inherit_errexit\nshopt -u strict_errexit\nshopt -u verbose_errexit\n---\nshopt -s command_sub_errexit\nshopt -s inherit_errexit\nshopt -s strict_errexit\nshopt -s verbose_errexit\n' [osh status] Expected 0, got 1 stdout: shopt -u command_sub_errexit shopt -u inherit_errexit shopt -u strict_errexit shopt -u verbose_errexit --- shopt -s command_sub_errexit shopt -s inherit_errexit shopt -s strict_errexit shopt -s verbose_errexitstderr: shopt -p | grep errexit ^~~~~ [ stdin ]:7: errexit PID 37401: command.Simple failed with status 1 |
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' |