Results for

pass 18
0pass integers expression and augmented assignment
1pass proc static check: const can't be mutated
2pass top-level dynamic check: const can't be be mutated
3pass top level: var can be redefined by var/const
4pass setvar mutates local
5pass top level: setvar creates global
6pass top level: setvar mutates var
7pass proc static check: variable changed by setvar must be declared
8pass setglobal
9pass setglobal of undeclared var is allowed
10pass var/setvar x, y = 1, 2
11pass setvar d->key = 42 (setitem)
12pass setvar mylist[1] = 42 (setitem)
13pass mixing assignment builtins and Oil assignment
14pass setref out = 'YY'
15pass setref composes: 2 levels deep
16pass circular dict
17pass circular list
18FAIL exit code of var, const, setvar
18 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

osh18 exit code of var, const, setvar

[osh stdout] Expected 'x= status=1\nx=/42 status=1\nx=/43/44 status=1\n', got 'x= status=0\nx=/42 status=0\ny=/43/44 status=0\n'

x= status=0
x=/42 status=0
y=/43/44 status=0