75 passed, 2 OK, 46 not implemented, 10 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
mksh | 2 recursive arith: short circuit &&, || stdout: 1:123 1:123 0:321 1:321stderr: |
ash | 2 recursive arith: short circuit &&, || stdout: 1:123 1:123 0:321 1:321stderr: |
ash | 3 recursive arith: short circuit ?: stdout: 123:321 321:321stderr: |
zsh | 4 recursive arith: side effects stdout: 0:123stderr: |
ash | 4 recursive arith: side effects stdout: 0:123stderr: |
mksh | 5 recursive arith: recursion stdout: stderr: mksh: <stdin>[2]: i<=100&&(s+=i,i++,loop): expression recurses on parameter 'loop' |
ash | 5 recursive arith: recursion stdout: stderr: ash: expression recursion loop detected |
ash | 6 recursive arith: array elements stdout: stderr: ash: text[1]=d=123: not found ash: text[2]=text[1]: not found ash: text[3]=text[2]: not found ash: arithmetic syntax error |
zsh | 10 is-array with ${var@a} stdout: stderr: ble/is-array: bad substitution |
mksh | 10 is-array with ${var@a} stdout: stderr: |
ash | 10 is-array with ${var@a} stdout: stderr: |
zsh | 11 Sparse array with big index stdout: len=1048576stderr: |
ash | 11 Sparse array with big index stdout: stderr: ash: syntax error: unexpected "(" |
zsh | 12 shift unshift reverse stdout: 1 2 3 4 5 6 2 3 4 5 6 4 5 6 --- 99 4 5 6 --- 5 4 99stderr: (eval):4: a: assignment to invalid subscript range |
mksh | 12 shift unshift reverse stdout: stderr: |
ash | 12 shift unshift reverse stdout: stderr: |
zsh | 13 shopt -u expand_aliases and eval stdout: stderr: |
mksh | 13 shopt -u expand_aliases and eval stdout: stderr: |
ash | 13 shopt -u expand_aliases and eval stdout: stderr: |
bash | 14 Tilde expansions in RHS of designated array initialization stdout: ~ ~:~:~stderr: |
zsh | 14 Tilde expansions in RHS of designated array initialization stdout: stderr: |
mksh | 14 Tilde expansions in RHS of designated array initialization stdout: stderr: |
ash | 14 Tilde expansions in RHS of designated array initialization stdout: stderr: |
zsh | 15 InitializerList (BashArray): index increments with stdout: stderr: |
mksh | 15 InitializerList (BashArray): index increments with stdout: stderr: |
ash | 15 InitializerList (BashArray): index increments with stdout: stderr: |
zsh | 16 InitializerList (BashArray): [k]=$v and [k]="$@" stdout: stderr: |
mksh | 16 InitializerList (BashArray): [k]=$v and [k]="$@" stdout: stderr: |
ash | 16 InitializerList (BashArray): [k]=$v and [k]="$@" stdout: stderr: |
zsh | 17 InitializerList (BashAssoc): [k]=$v and [k]="$@" stdout: stderr: |
mksh | 17 InitializerList (BashAssoc): [k]=$v and [k]="$@" stdout: stderr: |
ash | 17 InitializerList (BashAssoc): [k]=$v and [k]="$@" stdout: stderr: |
zsh | 18 InitializerList (BashArray): append to element stdout: stderr: |
mksh | 18 InitializerList (BashArray): append to element stdout: stderr: |
ash | 18 InitializerList (BashArray): append to element stdout: stderr: |
bash | 19 InitializerList (BashAssoc): append to element stdout: keys: ['hello'] vals: ['2'] keys: ['hello'] vals: ['2:34:56']stderr: |
zsh | 19 InitializerList (BashAssoc): append to element stdout: stderr: |
mksh | 19 InitializerList (BashAssoc): append to element stdout: stderr: |
ash | 19 InitializerList (BashAssoc): append to element stdout: stderr: |
bash | 20 InitializerList (BashAssoc): non-index forms of element stdout: status=0 keys: ['j'] vals: ['1']stderr: bash: line 3: a: 2: must use subscript when assigning associative array bash: line 3: a: 3: must use subscript when assigning associative array bash: line 3: a: 4: must use subscript when assigning associative array |
zsh | 20 InitializerList (BashAssoc): non-index forms of element stdout: stderr: |
mksh | 20 InitializerList (BashAssoc): non-index forms of element stdout: stderr: |
ash | 20 InitializerList (BashAssoc): non-index forms of element stdout: stderr: |
zsh | 21 InitializerList (BashArray): evaluation order (1) stdout: stderr: |
mksh | 21 InitializerList (BashArray): evaluation order (1) stdout: stderr: |
ash | 21 InitializerList (BashArray): evaluation order (1) stdout: stderr: |
zsh | 22 InitializerList (BashArray): evaluation order (2) stdout: stderr: |
mksh | 22 InitializerList (BashArray): evaluation order (2) stdout: stderr: |
ash | 22 InitializerList (BashArray): evaluation order (2) stdout: stderr: |
zsh | 23 InitializerList (BashArray): evaluation order (3) stdout: stderr: |
mksh | 23 InitializerList (BashArray): evaluation order (3) stdout: stderr: |
ash | 23 InitializerList (BashArray): evaluation order (3) stdout: stderr: |
zsh | 25 Issue #1069 [59] - Assigning Str to BashArray/BashAssoc should not remove BashArray/BashAssoc stdout: stderr: |
mksh | 25 Issue #1069 [59] - Assigning Str to BashArray/BashAssoc should not remove BashArray/BashAssoc stdout: set -A a typeset a[0]=99 typeset a[1]=2 typeset a[2]=3stderr: mksh: <stdin>[7]: syntax error: '(' unexpected |
ash | 25 Issue #1069 [59] - Assigning Str to BashArray/BashAssoc should not remove BashArray/BashAssoc stdout: stderr: |
osh | 25 Issue #1069 [59] - Assigning Str to BashArray/BashAssoc should not remove BashArray/BashAssoc [osh stdout] Expected 'declare -a a=([0]="99" [1]="2" [2]="3")\ndeclare -A A=([0]="99" [k]="v" )\n' Got 'declare -- a=99\ndeclare -- A=99\n' stdout: declare -- a=99 declare -- A=99stderr: |
zsh | 26 Issue #1069 [53] - LHS array parsing a[1 + 2]=3 (see spec/array-assign for more) stdout: stderr: |
mksh | 26 Issue #1069 [53] - LHS array parsing a[1 + 2]=3 (see spec/array-assign for more) stdout: set -A a typeset a[3]=7 typeset a[7]=8 typeset a[9]=9 set -A a typeset a[3]=55 typeset a[7]=8 typeset a[9]=9 typeset a[41]=66stderr: |
ash | 26 Issue #1069 [53] - LHS array parsing a[1 + 2]=3 (see spec/array-assign for more) stdout: stderr: |
osh | 26 Issue #1069 [53] - LHS array parsing a[1 + 2]=3 (see spec/array-assign for more) [osh stdout] Expected 'declare -a a=([3]="7" [7]="8" [9]="9")\ndeclare -a a=([3]="55" [7]="8" [9]="9" [41]="66")\n' Got '' [osh status] Expected 0, got 2 stdout: stderr: a[1 + 2]=7 ^~ [ stdin ]:3: Command 'a[1' not found (OILS-ERR-100) a[3|4]=8 ^~ [ stdin ]:4: Command 'a[3' not found (OILS-ERR-100) a[3|4]=8 ^ [ stdin ]:4: Command '4]=8' not found (OILS-ERR-100) a[(1+2)*3]=9 ^ [ stdin ]:5: Unexpected left paren (might need a space before it) |