Results for oil-scope.test.sh

statusoshosh_ALT
pass 1313
FAIL 11
total1414
caseoshosh_ALTdescription
0pass pass GetValue scope and shopt --unset dynamic_scope
1pass pass SetValue scope and shopt --unset dynamic_scope
2pass pass read scope (setref)
3pass pass printf -v scope (setref)
4pass pass ${undef=a} and shopt --unset dynamic_scope
5pass pass declare -p respects it
6pass pass unset composes because it uses dynamic scope (even in Oil)
7pass pass SetLocalShopt constructs
8pass pass shell assignments 'neutered' inside 'proc'
9pass pass setvar still allows setting globals
10pass pass setref with :out param
11pass pass setref without :out param
12pass pass setref: syntax without pgen2 using open proc
13FAIL FAIL setref a[i]
detailsdetails
26 passed, 0 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
1 failed under osh

Details on runs that didn't PASS

osh13 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_ALT13 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