case | dash | bash | mksh | osh | description |
0 | N-I | pass | pass | pass | Lazy Evaluation of Alternative |
details | |||||
1 | pass | pass | pass | pass | Default value when empty |
2 | pass | pass | pass | pass | Default value when unset |
3 | pass | pass | pass | FAIL | Unquoted with array as default value |
details | |||||
4 | pass | BUG | pass | FAIL | Quoted with array as default value |
details | details | ||||
5 | pass | pass | pass | pass | Assign default value when empty |
6 | pass | pass | pass | pass | Assign default value when unset |
7 | pass | pass | pass | FAIL | Assign default with array |
details | |||||
8 | pass | pass | pass | pass | Alternative value when empty |
9 | pass | pass | pass | pass | Alternative value when unset |
10 | ok | pass | pass | FAIL | Error when empty |
details | details | ||||
11 | ok | pass | pass | FAIL | Error when unset |
details | details | ||||
12 | pass | pass | pass | pass | Error when unset |
43 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: |
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 | 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: |
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: |
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: |