Results for append.test.sh

casebashmkshdescription
0pass pass Append string to string
1pass pass Append array to array
2BUG BUG Append array to string should be an error
detailsdetails
3ok ok Append string to array should be disallowed
detailsdetails
4pass pass Append string to array element
5pass BUG Append to last element
details
6pass pass Try to append list to element
7pass pass Strings have value semantics, not reference semantics

11 passed, 2 ok, 0 known unimplemented, 3 known bugs, 0 failed, 0 skipped

Details on runs that didn't PASS

bash2 Append array to string should be an error

stdout:
abc
stderr:
mksh2 Append array to string should be an error

stdout:
abc
stderr:
bash3 Append string to array should be disallowed

stdout:
['xz', 'y']
stderr:
mksh3 Append string to array should be disallowed

stdout:
['xz', 'y']
stderr:
mksh5 Append to last element

stdout:
['1', '2 3', ' 4']
stderr: