spec test index / oilshell.org
status | osh | |
pass | 7 | |
FAIL | 5 | |
total | 12 | |
case | osh | description |
0 | pass | Augmented assignment doesn't work on List |
1 | FAIL | Augmented assignment respects command_sub_errexit |
details | ||
2 | pass | Augmented assignment with integers |
3 | FAIL | Augmented assignment on string changes to Int Float |
details | ||
4 | FAIL | Augmented assignment with floats |
details | ||
5 | pass | Int/Float augmented += -= *= /= |
6 | pass | Int Augmented //= %= **= and bitwise ops |
7 | FAIL | Augmented assignment of Dict |
details | ||
8 | FAIL | Augmented assignment of List |
details | ||
9 | pass | Dict with nonexistent key (bug fix) |
10 | pass | List with nonexistent elemnt |
11 | pass | Augmented assignment doesn't work with multiple LHS |
7 passed, 0 OK, 0 not implemented, 0 BUG, 5 failed, 0 timeouts, 0 cases skipped 5 failed under osh
osh | 1 Augmented assignment respects command_sub_errexit [osh stdout] Expected 'x=45\n', got '' stdout: stderr: setvar x += $(echo 3) ^~~~~~ [ stdin ]:2: fatal: Integer too big: 42 |
osh | 3 Augmented assignment on string changes to Int Float [osh stdout] Expected '(Str) "42"\n(Int) 46\n(Int) 55\n(Float) 10.5\n' Got '(Str) "42"\n' [osh status] Expected 0, got 1 stdout: (Str) "42"stderr: setvar x += 4 * 1 ^~~~~~ [ stdin ]:4: fatal: Integer too big: 42 |
osh | 4 Augmented assignment with floats [osh stdout] Expected '43.5\n45.0\n48.0\n', got '43.5\n45.0\n' [osh status] Expected 0, got 1 stdout: 43.5 45.0stderr: setvar x += '3' ^~~~~~ [ stdin ]:9: fatal: Integer too big: 3 |
osh | 7 Augmented assignment of Dict [osh stdout] Expected '43.5\n45.0\n48.0\n', got '43.5\n45.0\n' [osh status] Expected 0, got 1 stdout: 43.5 45.0stderr: setvar d.x += '3' ^~~~~~ [ stdin ]:9: fatal: Integer too big: 3 |
osh | 8 Augmented assignment of List [osh stdout] Expected '31 42\n31 21\n31 10.5\n', got '' [osh status] Expected 0, got 1 stdout: stderr: setvar mylist[0] -= 1 ^~~~~~ [ stdin ]:5: fatal: Integer too big: 32 |