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