| case | dash | bash | mksh | osh | osh_ALT | description |
| 0 | N-I | pass | pass | pass | pass | Lazy Evaluation of Alternative |
| details | ||||||
| 1 | pass | pass | pass | pass | pass | Default value when empty |
| 2 | pass | pass | pass | pass | pass | Default value when unset |
| 3 | pass | pass | pass | FAIL | FAIL | Unquoted with array as default value |
| details | details | |||||
| 4 | pass | BUG | pass | FAIL | FAIL | Quoted with array as default value |
| details | details | details | ||||
| 5 | pass | pass | pass | pass | pass | Assign default value when empty |
| 6 | pass | pass | pass | pass | pass | Assign default value when unset |
| 7 | pass | pass | pass | FAIL | FAIL | Assign default with array |
| details | details | |||||
| 8 | pass | pass | pass | pass | pass | Alternative value when empty |
| 9 | pass | pass | pass | pass | pass | Alternative value when unset |
| 10 | ok | pass | pass | FAIL | FAIL | Error when empty |
| details | details | details | ||||
| 11 | ok | pass | pass | FAIL | FAIL | Error when unset |
| details | details | details | ||||
| 12 | pass | pass | pass | pass | pass | Error when unset |
51 passed, 2 ok, 1 known unimplemented, 1 known bugs, 5 failed, 0 skipped
| dash | 0 Lazy Evaluation of Alternative stdout: x 0stderr: /bin/dash: 5: arithmetic expression: expecting primary: "i++" |
| osh | 3 Unquoted with array as default value [osh stdout] Expected "['Xx1', '2', '3', '4xX']\n", got "['Xx1 2', '3 4xX']\n" stdout: ['Xx1 2', '3 4xX']stderr: |
| osh_ALT | 3 Unquoted with array as default value [osh_ALT stdout] Expected "['Xx1', '2', '3', '4xX']\n", got "['Xx1 2', '3 4xX']\n" stdout: ['Xx1 2', '3 4xX']stderr: |
| bash | 4 Quoted with array as default value stdout: ['Xx1', '2', '3', '4xX']stderr: |
| osh | 4 Quoted with array as default value [osh stdout] Expected "['Xx1 2 3 4xX']\n", got "['Xx1 2', '3 4xX']\n" stdout: ['Xx1 2', '3 4xX']stderr: |
| osh_ALT | 4 Quoted with array as default value [osh_ALT stdout] Expected "['Xx1 2 3 4xX']\n", got "['Xx1 2', '3 4xX']\n" stdout: ['Xx1 2', '3 4xX']stderr: |
| osh | 7 Assign default with array [osh stdout] Expected u"['Xx1', '2', '3', '4xX']\n['x1 2 3 4x']\n", got "['Xx1 2', '3 4xX']\n['x1 2 3 4x']\n" stdout: ['Xx1 2', '3 4xX'] ['x1 2 3 4x']stderr: |
| osh_ALT | 7 Assign default with array [osh_ALT stdout] Expected u"['Xx1', '2', '3', '4xX']\n['x1 2 3 4x']\n", got "['Xx1 2', '3 4xX']\n['x1 2 3 4x']\n" stdout: ['Xx1 2', '3 4xX'] ['x1 2 3 4x']stderr: |
| dash | 10 Error when empty stdout: stderr: /bin/dash: 2: empty: is empty |
| osh | 10 Error when empty [osh status] Expected 1, got 33 stdout: stderr: |
| osh_ALT | 10 Error when empty [osh_ALT status] Expected 1, got 33 stdout: stderr: |
| dash | 11 Error when unset stdout: stderr: /bin/dash: 1: unset: is empty |
| osh | 11 Error when unset [osh status] Expected 1, got 33 stdout: stderr: |
| osh_ALT | 11 Error when unset [osh_ALT status] Expected 1, got 33 stdout: stderr: |