Results for assign-deferred.test.sh

statusoshosh_.pyosh_.cc
FAIL 999
total999
caseoshosh_.pyosh_.ccdescription
0FAIL FAIL FAIL typeset a[3]=4
detailsdetailsdetails
1FAIL FAIL FAIL typeset -a a[1]=a a[3]=c
detailsdetailsdetails
2FAIL FAIL FAIL local a[3]=4
detailsdetailsdetails
3FAIL FAIL FAIL readonly a[7]=8
detailsdetailsdetails
4FAIL FAIL FAIL export a[7]=8
detailsdetailsdetails
5FAIL FAIL FAIL 'builtin' prefix is allowed on assignments
detailsdetailsdetails
6FAIL FAIL FAIL 'command' prefix is allowed on assignments
detailsdetailsdetails
7FAIL FAIL FAIL 'builtin' prefix and array is a parse error
detailsdetailsdetails
8FAIL FAIL FAIL 'command' prefix and array is a parse error
detailsdetailsdetails
0 passed, 0 OK, 0 not implemented, 0 BUG, 27 failed, 0 timeouts, 0 cases skipped
9 failed under osh

Details on runs that didn't PASS

osh0 typeset a[3]=4

[osh stdout] Expected "status=0\n['3', '5', '4', '6']\n", got ''
[osh status] Expected 0, got 1

stdout:
stderr: 
  typeset a[3]=4 a[5]=6
          ^~
[ stdin ]:1: fatal: Invalid variable name 'a[3]=4'
osh_.py0 typeset a[3]=4

[osh_.py stdout] Expected "status=0\n['3', '5', '4', '6']\n", got ''
[osh_.py status] Expected 0, got 1

stdout:
stderr: 
  typeset a[3]=4 a[5]=6
          ^~
[ stdin ]:1: fatal: Invalid variable name 'a[3]=4'
osh_.cc0 typeset a[3]=4

[osh_.cc stdout] Expected "status=0\n['3', '5', '4', '6']\n", got ''
[osh_.cc status] Expected 0, got 1

stdout:
stderr: 
  typeset a[3]=4 a[5]=6
  ^~~~~~~
[ stdin ]:1: fatal: Invalid variable name 'a[3]=4'

dumb_alloc:
	gNumNew = 1678
	gNumDelete = 122
	gMemPos = 59104

	gNumMalloc = 36
	gNumFree = 0
	gMemPos2 = 9008
osh1 typeset -a a[1]=a a[3]=c

[osh stdout] Expected "['x', 'z']\n", got ''
[osh status] Expected 0, got 1

stdout:
stderr: 
  typeset -a a[1*1]=x a[1+2]=z
             ^~
[ stdin ]:1: fatal: Invalid variable name 'a[1*1]=x'
osh_.py1 typeset -a a[1]=a a[3]=c

[osh_.py stdout] Expected "['x', 'z']\n", got ''
[osh_.py status] Expected 0, got 1

stdout:
stderr: 
  typeset -a a[1*1]=x a[1+2]=z
             ^~
[ stdin ]:1: fatal: Invalid variable name 'a[1*1]=x'
osh_.cc1 typeset -a a[1]=a a[3]=c

[osh_.cc stdout] Expected "['x', 'z']\n", got ''
[osh_.cc status] Expected 0, got 1

stdout:
stderr: 
  typeset -a a[1*1]=x a[1+2]=z
  ^~~~~~~
[ stdin ]:1: fatal: Invalid variable name 'a[1*1]=x'

dumb_alloc:
	gNumNew = 1702
	gNumDelete = 132
	gMemPos = 60176

	gNumMalloc = 42
	gNumFree = 0
	gMemPos2 = 9104
osh2 local a[3]=4

[osh stdout] Expected "status=0\n['3', '5', '4', '6']\n", got ''
[osh status] Expected 0, got 1

stdout:
stderr: 
    local a[3]=4 a[5]=6
          ^~
[ stdin ]:2: fatal: Invalid variable name 'a[3]=4'
osh_.py2 local a[3]=4

[osh_.py stdout] Expected "status=0\n['3', '5', '4', '6']\n", got ''
[osh_.py status] Expected 0, got 1

stdout:
stderr: 
    local a[3]=4 a[5]=6
          ^~
[ stdin ]:2: fatal: Invalid variable name 'a[3]=4'
osh_.cc2 local a[3]=4

[osh_.cc stdout] Expected "status=0\n['3', '5', '4', '6']\n", got ''
[osh_.cc status] Expected 0, got 1

stdout:
stderr: 
    local a[3]=4 a[5]=6
    ^~~~~
[ stdin ]:2: fatal: Invalid variable name 'a[3]=4'

dumb_alloc:
	gNumNew = 1879
	gNumDelete = 166
	gMemPos = 64752

	gNumMalloc = 79
	gNumFree = 0
	gMemPos2 = 9696
osh3 readonly a[7]=8

[osh stdout] Expected "status=0\n['7', '8']\n", got ''
[osh status] Expected 0, got 1

stdout:
stderr: 
  readonly b[7]=8
           ^~
[ stdin ]:1: fatal: Invalid variable name 'b[7]=8'
osh_.py3 readonly a[7]=8

[osh_.py stdout] Expected "status=0\n['7', '8']\n", got ''
[osh_.py status] Expected 0, got 1

stdout:
stderr: 
  readonly b[7]=8
           ^~
[ stdin ]:1: fatal: Invalid variable name 'b[7]=8'
osh_.cc3 readonly a[7]=8

[osh_.cc stdout] Expected "status=0\n['7', '8']\n", got ''
[osh_.cc status] Expected 0, got 1

stdout:
stderr: 
  readonly b[7]=8
  ^~~~~~~~
[ stdin ]:1: fatal: Invalid variable name 'b[7]=8'

dumb_alloc:
	gNumNew = 1660
	gNumDelete = 112
	gMemPos = 58512

	gNumMalloc = 32
	gNumFree = 0
	gMemPos2 = 8928
osh4 export a[7]=8

[osh stdout] Expected 'status=2\n[]\nNone\n', got ''
[osh status] Expected 0, got 1

stdout:
stderr: 
  export a[7]=8
         ^~
[ stdin ]:1: fatal: Invalid variable name 'a[7]=8'
osh_.py4 export a[7]=8

[osh_.py stdout] Expected 'status=2\n[]\nNone\n', got ''
[osh_.py status] Expected 0, got 1

stdout:
stderr: 
  export a[7]=8
         ^~
[ stdin ]:1: fatal: Invalid variable name 'a[7]=8'
osh_.cc4 export a[7]=8

[osh_.cc stdout] Expected 'status=2\n[]\nNone\n', got ''
[osh_.cc status] Expected 0, got 1

stdout:
stderr: 
  export a[7]=8
  ^~~~~~
[ stdin ]:1: fatal: Invalid variable name 'a[7]=8'

dumb_alloc:
	gNumNew = 1660
	gNumDelete = 112
	gMemPos = 58512

	gNumMalloc = 32
	gNumFree = 0
	gMemPos2 = 8928
osh5 'builtin' prefix is allowed on assignments

[osh stdout] Expected 'e=E\n', got 'e=\n'

stdout:
e=
stderr:
  builtin export e='E'
          ^~~~~~
[ stdin ]:1: Can't run assignment builtin recursively
osh_.py5 'builtin' prefix is allowed on assignments

[osh_.py stdout] Expected 'e=E\n', got 'e=\n'

stdout:
e=
stderr:
  builtin export e='E'
          ^~~~~~
[ stdin ]:1: Can't run assignment builtin recursively
osh_.cc5 'builtin' prefix is allowed on assignments

[osh_.cc stdout] Expected 'e=E\n', got 'e=\n'

stdout:
e=
stderr:
  builtin export e='E'
          ^~~~~~
[ stdin ]:1: Can't run assignment builtin recursively

dumb_alloc:
	gNumNew = 1899
	gNumDelete = 148
	gMemPos = 64912

	gNumMalloc = 144
	gNumFree = 0
	gMemPos2 = 10736
osh6 'command' prefix is allowed on assignments

[osh stdout] Expected 'r1=R1\nr2=R2\n', got 'r1=R1\nr2=\n'

stdout:
r1=R1
r2=
stderr:
  command readonly r2='R2'  # but not this
          ^~~~~~~~
[ stdin ]:2: Can't run assignment builtin recursively
osh_.py6 'command' prefix is allowed on assignments

[osh_.py stdout] Expected 'r1=R1\nr2=R2\n', got 'r1=R1\nr2=\n'

stdout:
r1=R1
r2=
stderr:
  command readonly r2='R2'  # but not this
          ^~~~~~~~
[ stdin ]:2: Can't run assignment builtin recursively
osh_.cc6 'command' prefix is allowed on assignments

[osh_.cc stdout] Expected 'r1=R1\nr2=R2\n', got 'r1=R1\nr2=\n'

stdout:
r1=R1
r2=
stderr:
  command readonly r2='R2'  # but not this
          ^~~~~~~~
[ stdin ]:2: Can't run assignment builtin recursively

dumb_alloc:
	gNumNew = 2151
	gNumDelete = 194
	gMemPos = 72208

	gNumMalloc = 214
	gNumFree = 0
	gMemPos2 = 11872
osh7 'builtin' prefix and array is a parse error

[osh status] Expected 2, got 1

stdout:
stderr: 
  builtin typeset a=(1 2 3)
                    ^
[ stdin ]:1: fatal: Unexpected array literal
osh_.py7 'builtin' prefix and array is a parse error

[osh_.py status] Expected 2, got 1

stdout:
stderr: 
  builtin typeset a=(1 2 3)
                    ^
[ stdin ]:1: fatal: Unexpected array literal
osh_.cc7 'builtin' prefix and array is a parse error

[osh_.cc status] Expected 2, got 1

stdout:
stderr: 
  builtin typeset a=(1 2 3)
  ^~~~~~~
[ stdin ]:1: fatal: Unexpected array literal

dumb_alloc:
	gNumNew = 1759
	gNumDelete = 123
	gMemPos = 61408

	gNumMalloc = 88
	gNumFree = 0
	gMemPos2 = 9840
osh8 'command' prefix and array is a parse error

[osh status] Expected 2, got 1

stdout:
stderr: 
  command typeset a=(1 2 3)
                    ^
[ stdin ]:1: fatal: Unexpected array literal
osh_.py8 'command' prefix and array is a parse error

[osh_.py status] Expected 2, got 1

stdout:
stderr: 
  command typeset a=(1 2 3)
                    ^
[ stdin ]:1: fatal: Unexpected array literal
osh_.cc8 'command' prefix and array is a parse error

[osh_.cc status] Expected 2, got 1

stdout:
stderr: 
  command typeset a=(1 2 3)
  ^~~~~~~
[ stdin ]:1: fatal: Unexpected array literal

dumb_alloc:
	gNumNew = 1759
	gNumDelete = 123
	gMemPos = 61408

	gNumMalloc = 88
	gNumFree = 0
	gMemPos2 = 9840