case | bash | mksh | description |
0 | pass | pass | Append string to string |
1 | pass | pass | Append array to array |
2 | BUG | BUG | Append array to string should be an error |
details | details | ||
3 | ok | ok | Append string to array should be disallowed |
details | details | ||
4 | pass | pass | Append string to array element |
5 | pass | BUG | Append to last element |
details | |||
6 | pass | pass | Try to append list to element |
7 | pass | pass | Strings have value semantics, not reference semantics |
11 passed, 2 ok, 0 known unimplemented, 3 known bugs, 0 failed, 0 skipped
bash | 2 Append array to string should be an error stdout: abcstderr: |
mksh | 2 Append array to string should be an error stdout: abcstderr: |
bash | 3 Append string to array should be disallowed stdout: ['xz', 'y']stderr: |
mksh | 3 Append string to array should be disallowed stdout: ['xz', 'y']stderr: |
mksh | 5 Append to last element stdout: ['1', '2 3', ' 4']stderr: |