| status | bash | osh | |
| pass | 4 | 8 | |
| N-I | 3 | 0 | |
| BUG | 1 | 0 | |
| total | 8 | 8 | |
| case | bash | osh | description |
| 0 | pass | pass | [k1]=v1 (BashArray) |
| 1 | pass | pass | [k1]=v1 (BashAssoc) |
| 2 | pass | pass | [k1]=v1 looking like brace expansions (BashArray) |
| 3 | BUG | pass | [k1]=v1 looking like brace expansions (BashAssoc) |
| details | |||
| 4 | pass | pass | BashArray cannot be changed to BashAssoc and vice versa |
| 5 | N-I | pass | s+=() with strict_array |
| details | |||
| 6 | N-I | pass | declare -A s+=() with strict_array |
| details | |||
| 7 | N-I | pass | assoc=(key value ...) is not allowed in the strict_array mode |
| details |
12 passed, 0 OK, 3 not implemented, 1 BUG, 0 failed, 0 timeouts, 0 cases skipped
| bash | 3 [k1]=v1 looking like brace expansions (BashAssoc) stdout: [k2]=-a-stderr: |
| bash | 5 s+=() with strict_array stdout: status=0 declare -a s1=([0]="1" [1]="2" [2]="3" [3]="4") status=0 declare -a s2=([0]="world" [1]="1" [2]="2" [3]="3" [4]="4")stderr: |
| bash | 6 declare -A s+=() with strict_array stdout: status=0 declare -A s1=([b]="y" [a]="x" ) status=0 declare -A s2=([0]="world" [b]="y" [a]="x" )stderr: |
| bash | 7 assoc=(key value ...) is not allowed in the strict_array mode stdout: declare -A a=([3]="4" [1]="2" )stderr: |