Results for append.test.sh

statusoshosh_.pyosh_.cc
pass 181818
ok 111
total191919
caseoshosh_.pyosh_.ccdescription
0pass pass pass Append string to string
1pass pass pass Append array to array
2pass pass pass Append string to undefined variable
3pass pass pass Append to array to undefined variable
4pass pass pass error: s+=(my array)
5pass pass pass error: myarray+=s
6pass pass pass typeset s+=(my array) -- compat_array
7pass pass pass error: typeset myarray+=s
8pass pass pass error: append used like env prefix
9pass pass pass myarray[1]+=s - Append to element
10pass pass pass myarray[-1]+=s - Append to last element
11ok ok ok Try to append list to element
detailsdetailsdetails
12pass pass pass Strings have value semantics, not reference semantics
13pass pass pass typeset s+=
14pass pass pass typeset s${dyn}+=
15pass pass pass export readonly +=
16pass pass pass local +=
17pass pass pass assign builtin appending array: declare d+=(d e)
18pass pass pass export+=array disallowed
54 passed, 3 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh11 Try to append list to element

stdout:
stderr: 
  a[-1]+=(4 5)
         ^
[ stdin ]:2: Unexpected left paren (might need a space before it)
osh_.py11 Try to append list to element

stdout:
stderr: 
  a[-1]+=(4 5)
         ^
[ stdin ]:2: Unexpected left paren (might need a space before it)
osh_.cc11 Try to append list to element

stdout:
stderr: 
  a[-1]+=(4 5)
         ^
[ stdin ]:2: Unexpected left paren (might need a space before it)

dumb_alloc:
	gNumNew = 1788
	gNumDelete = 114
	gMemPos = 62208

	gNumMalloc = 57
	gNumFree = 0
	gMemPos2 = 9488