spec test index / oilshell.org
status | osh | osh_ALT | |
pass | 13 | 13 | |
FAIL | 1 | 1 | |
total | 14 | 14 | |
case | osh | osh_ALT | description |
0 | pass | pass | GetValue scope and shopt --unset dynamic_scope |
1 | pass | pass | SetValue scope and shopt --unset dynamic_scope |
2 | pass | pass | read scope (setref) |
3 | pass | pass | printf -v scope (setref) |
4 | pass | pass | ${undef=a} and shopt --unset dynamic_scope |
5 | pass | pass | declare -p respects it |
6 | pass | pass | unset composes because it uses dynamic scope (even in Oil) |
7 | pass | pass | SetLocalShopt constructs |
8 | pass | pass | shell assignments 'neutered' inside 'proc' |
9 | pass | pass | setvar still allows setting globals |
10 | pass | pass | setref with :out param |
11 | pass | pass | setref without :out param |
12 | pass | pass | setref: syntax without pgen2 using open proc |
13 | FAIL | FAIL | setref a[i] |
details | details |
26 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh | 13 setref a[i] [osh stdout] Expected 'a\nz\nc\n', got '' [osh status] Expected 0, got 1 stdout: stderr: setref a[1] = item ^~~~~~ [ stdin ]:2: fatal: setref obj[index] not implemented |
osh_ALT | 13 setref a[i] [osh_ALT stdout] Expected 'a\nz\nc\n', got '' [osh_ALT status] Expected 0, got 1 stdout: stderr: setref a[1] = item ^~~~~~ [ stdin ]:2: fatal: setref obj[index] not implemented |