spec test index / oilshell.org
status | osh | osh_ALT | |
pass | 8 | 7 | |
FAIL | 1 | 2 | |
total | 9 | 9 | |
case | osh | osh_ALT | description |
0 | FAIL | FAIL | oil:upgrade as alias for ysh:upgrade |
details | details | ||
1 | pass | pass | %() array literal |
2 | pass | pass | _match() instead of _group() |
3 | pass | pass | _status instead of _error.code |
4 | pass | FAIL | source ///osh/two.sh rather than source --builtin osh/two.sh |
details | |||
5 | pass | pass | OILS_VERSION, not OIL_VERSION |
6 | pass | pass | s.upper(), not s => upper() (might keep this) |
7 | pass | pass | fopen can be spelled redir |
8 | pass | pass | Dict => keys() |
15 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh | 0 oil:upgrade as alias for ysh:upgrade [osh stdout] Expected 'shopt -u simple_word_eval\nshopt -s simple_word_eval\nshopt -u simple_word_eval\n' Got 'shopt -u simple_word_eval\nshopt -s simple_word_eval\n' [osh status] Expected 0, got 1 stdout: shopt -u simple_word_eval shopt -s simple_word_evalstderr: shopt -p | grep simple_word ^~~~~ [ stdin ]:3: errexit PID 38350: command.Simple failed with status 1 shopt -p | grep simple_word ^~~~~ [ stdin ]:3: errexit PID 38345: command.Pipeline failed with status 1 |
osh_ALT | 0 oil:upgrade as alias for ysh:upgrade [osh_ALT stdout] Expected 'shopt -u simple_word_eval\nshopt -s simple_word_eval\nshopt -u simple_word_eval\n' Got 'shopt -u simple_word_eval\nshopt -s simple_word_eval\n' [osh_ALT status] Expected 0, got 1 stdout: shopt -u simple_word_eval shopt -s simple_word_evalstderr: shopt -p | grep simple_word ^~~~~ [ stdin ]:3: errexit PID 38355: command.Simple failed with status 1 shopt -p | grep simple_word ^~~~~ [ stdin ]:3: errexit PID 38352: command.Pipeline failed with status 1 |
osh_ALT | 4 source ///osh/two.sh rather than source --builtin osh/two.sh [osh_ALT stdout] Expected 'status=0\n', got 'status=1\n' stdout: status=1stderr: source --builtin osh/two.sh ^~~ [ stdin ]:1: 'source' failed: No builtin file 'stdlib/osh/two.sh' |