134 passed, 12 OK, 20 not implemented, 14 BUG, 0 failed, 0 timeouts, 0 cases skipped
dash | 0 Lazy Evaluation of Alternative stdout: x 0stderr: dash: 5: arithmetic expression: expecting primary: "i++" |
zsh | 3 Unquoted with array as default value stdout: ['Xx1 2 3 4xX'] ['Xx1 2 3 4xX']stderr: |
osh | 3 Unquoted with array as default value stdout: ['Xx1 2', '3 4xX'] ['Xx1', '2', '3', '4xX']stderr: |
osh | 4 Quoted with array as default value stdout: ['Xx1 2', '3 4xX'] ['Xx1 2 3 4xX']stderr: |
zsh | 5 Assign default with array stdout: ['Xx1 2 3 4xX'] ['x1 2 3 4x']stderr: |
osh | 5 Assign default with array stdout: ['Xx1 2', '3 4xX'] ['x1 2 3 4x']stderr: |
bash | 12 "${array[@]} with set -u (bash is outlier) stdout: empty // undefined //stderr: |
dash | 12 "${array[@]} with set -u (bash is outlier) stdout: stderr: |
mksh | 12 "${array[@]} with set -u (bash is outlier) stdout: stderr: mksh: <stdin>[8]: empty[@]: parameter not set |
dash | 13 "${undefined[@]+foo}" and "${undefined[@]:+foo}", with set -u stdout: stderr: |
dash | 14 "${a[@]+foo}" and "${a[@]:+foo}" - operators are equivalent on arrays? stdout: stderr: |
mksh | 14 "${a[@]+foo}" and "${a[@]:+foo}" - operators are equivalent on arrays? stdout: + // +: // + // +: // + /foo/ +: // + /foo/ +: /foo/stderr: |
zsh | 14 "${a[@]+foo}" and "${a[@]:+foo}" - operators are equivalent on arrays? stdout: + // +: // + /foo/ +: // + /foo/ +: /foo/ + /foo/ +: /foo/stderr: |
dash | 15 Nix idiom ${!hooksSlice+"${!hooksSlice}"} - was workaround for obsolete bash 4.3 bug stdout: stderr: |
mksh | 15 Nix idiom ${!hooksSlice+"${!hooksSlice}"} - was workaround for obsolete bash 4.3 bug stdout: stderr: |
zsh | 15 Nix idiom ${!hooksSlice+"${!hooksSlice}"} - was workaround for obsolete bash 4.3 bug stdout: stderr: |
dash | 17 array and - and + stdout: stderr: |
zsh | 17 array and - and + stdout: empty= a1=stderr: zsh: command not found: shopt zsh: no matches found: a1[0]=minus |
dash | 18 $@ (empty) and - and + stdout: argv= argv=plus argv=minus argv=stderr: |
zsh | 18 $@ (empty) and - and + stdout: argv= argv=plus argv=minus argv=stderr: |
zsh | 19 $@ ("") and - and + stdout: argv= argv=plus argv= argv=plusstderr: |
mksh | 21 $* ("" "") and - and + (IFS=) stdout: argv= argv=plus argv=minus argv=stderr: |
osh | 21 $* ("" "") and - and + (IFS=) stdout: argv= argv=plus argv=minus argv=stderr: |
dash | 23 assoc array and - and + stdout: stderr: |
mksh | 23 assoc array and - and + stdout: stderr: |
zsh | 23 assoc array and - and + stdout: empty= empty=plus assoc=minus assoc= --- empty=minus empty= assoc=minus assoc=stderr: zsh: no matches found: [k]=v |
dash | 24 Error when empty stdout: stderr: dash: 2: empty: is empty |
dash | 25 Error when unset stdout: stderr: dash: 1: unset: is empty |
dash | 28 array ${arr[0]=x} stdout: stderr: dash: 1: Syntax error: "(" unexpected |
zsh | 28 array ${arr[0]=x} stdout: 0stderr: zsh: arr: assignment to invalid subscript range |
dash | 29 assoc array ${arr["k"]=x} stdout: stderr: dash: 1: Syntax error: "(" unexpected |
mksh | 29 assoc array ${arr["k"]=x} stdout: stderr: mksh: <stdin>[1]: syntax error: '(' unexpected |
mksh | 31 "\e" as arg stdout: stderr: |
zsh | 31 "\e" as arg stdout: stderr: |
dash | 32 op-test for ${a[@]} and ${a[*]} stdout: stderr: |
zsh | 32 op-test for ${a[@]} and ${a[*]} stdout: a : '' 'with-colon' a[0]: 'no-colon' 'with-colon' a[@]: '' 'with-colon' a[*]: '' 'with-colon' a : '' 'with-colon' a[0]: 'no-colon' 'with-colon' a[@]: '' '' a[*]: '' 'with-colon' a : ' ' ' ' a[0]: 'no-colon' 'with-colon' a[@]: ' ' ' ' a[*]: ' ' ' ' a : '' 'with-colon' a[0]: 'no-colon' 'with-colon' a[@]: ' ' ' ' a[*]: '' 'with-colon'stderr: |
dash | 33 op-test for ${!array} with array="a" and array="a[0]" stdout: stderr: |
mksh | 33 op-test for ${!array} with array="a" and array="a[0]" stdout: stderr: |
zsh | 33 op-test for ${!array} with array="a" and array="a[0]" stdout: stderr: |
bash | 34 op-test for ${!array} with array="a[@]" or array="a[*]" stdout: ref=a[@]: 'no-colon' 'with-colon' ref=a[*]: 'no-colon' 'with-colon' ref=a[@]: '' '' ref=a[*]: '' '' ref=a[@]: ' ' ' ' ref=a[*]: ' ' ' ' ref=a[@]: ' ' ' ' ref=a[*]: '' ''stderr: |
dash | 34 op-test for ${!array} with array="a[@]" or array="a[*]" stdout: stderr: |
mksh | 34 op-test for ${!array} with array="a[@]" or array="a[*]" stdout: stderr: |
zsh | 34 op-test for ${!array} with array="a[@]" or array="a[*]" stdout: stderr: |
dash | 35 op-test for unquoted ${a[*]:-empty} with IFS= stdout: stderr: |
mksh | 35 op-test for unquoted ${a[*]:-empty} with IFS= stdout: ['empty']stderr: |
osh | 35 op-test for unquoted ${a[*]:-empty} with IFS= stdout: ['empty']stderr: |