| case | bash | mksh | osh | description |
| 0 | pass | pass | FAIL | Assignment Causes Array Decay |
| details | ||||
| 1 | pass | pass | FAIL | User arrays decay |
| details | ||||
| 2 | pass | pass | FAIL | $a gives first element of array |
| details |
6 passed, 0 ok, 0 known unimplemented, 0 known bugs, 3 failed, 0 skipped
| osh | 0 Assignment Causes Array Decay [osh stdout] Expected "['[x y z]']\n", got "['[x', 'y', 'z]']\n" stdout: ['[x', 'y', 'z]']stderr: |
| osh | 1 User arrays decay [osh stdout] Expected "['x', 'y', 'z', 'x y z', 'x', 'YYY', 'z']\n", got "['x', 'y', 'z', 'x', 'y', 'z', 'x', 'y', 'z']\n" stdout: ['x', 'y', 'z', 'x', 'y', 'z', 'x', 'y', 'z']stderr: Unexpected error in execvpe('c[1]=YYY', ['c[1]=YYY'], ...): [Errno 2] No such file or directory
|
| osh | 2 $a gives first element of array [osh stdout] Expected '1\n', got '1 2 3\n' stdout: 1 2 3stderr: |