spec test index / oilshell.org
status | osh | osh_ALT | |
pass | 6 | 6 | |
FAIL | 3 | 3 | |
total | 9 | 9 | |
case | osh | osh_ALT | description |
0 | FAIL | FAIL | shopt supports long flags |
details | details | ||
1 | pass | pass | shopt supports 'set' options |
2 | pass | pass | shopt --unset errexit { } |
3 | pass | pass | shopt -p works correctly inside block |
4 | FAIL | FAIL | shopt --set GROUP { } |
details | details | ||
5 | pass | pass | shopt and block status |
6 | pass | pass | shopt usage error |
7 | pass | pass | shopt -p |
8 | FAIL | FAIL | TODO: all options as a table |
details | details |
12 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_ALT | 0 shopt supports long flags [osh_ALT 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 39668: command.Simple failed with status 1 |
osh_ALT | 4 shopt --set GROUP { } [osh_ALT 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_ALT 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 39673: 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' |
osh_ALT | 8 TODO: all options as a table [osh_ALT status] Expected 0, got 2 stdout: stderr: shopt --table ^~~~~~~ [ stdin ]:1: 'shopt' got invalid flag '--table' |