Results for ysh-augmented.test.sh

statusoshosh_ALT
pass 77
FAIL 55
total1212
caseoshosh_ALTdescription
0pass pass Augmented assignment doesn't work on List
1FAIL FAIL Augmented assignment respects command_sub_errexit
detailsdetails
2pass pass Augmented assignment with integers
3FAIL FAIL Augmented assignment on string changes to Int Float
detailsdetails
4FAIL FAIL Augmented assignment with floats
detailsdetails
5pass pass Int/Float augmented += -= *= /=
6pass pass Int Augmented //= %= **= and bitwise ops
7FAIL FAIL Augmented assignment of Dict
detailsdetails
8FAIL FAIL Augmented assignment of List
detailsdetails
9pass pass Dict with nonexistent key (bug fix)
10pass pass List with nonexistent elemnt
11pass 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

Details on runs that didn't PASS

osh1 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_ALT1 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
osh3 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_ALT3 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
osh4 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.0
stderr:
  setvar x += '3'
  ^~~~~~
[ stdin ]:9: fatal: Integer too big: 3
osh_ALT4 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.0
stderr:
  setvar x += '3'
  ^~~~~~
[ stdin ]:9: fatal: Integer too big: 3
osh7 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.0
stderr:
  setvar d.x += '3'
  ^~~~~~
[ stdin ]:9: fatal: Integer too big: 3
osh_ALT7 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.0
stderr:
  setvar d.x += '3'
  ^~~~~~
[ stdin ]:9: fatal: Integer too big: 3
osh8 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_ALT8 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