17 passed, 0 OK, 3 not implemented, 1 BUG, 59 failed, 0 timeouts, 0 cases skipped
dash | 0 [k1]=v1 (BashArray) [dash stdout] Expected 'v2\nv2\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: Syntax error: "(" unexpected |
ash | 0 [k1]=v1 (BashArray) [ash stdout] Expected 'v2\nv2\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: syntax error: unexpected "(" |
zsh | 0 [k1]=v1 (BashArray) [zsh stdout] Expected 'v2\nv2\n', got '' [zsh status] Expected 0, got 1 stdout: stderr: zsh: no matches found: [k1]=v1 |
mksh | 0 [k1]=v1 (BashArray) [mksh stdout] Expected 'v2\nv2\n', got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[2]: "k1": unexpected '"' |
ksh | 0 [k1]=v1 (BashArray) [ksh stdout] Expected 'v2\nv2\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: W: ksh: <stdin>[2]: "k1": unexpected '"' |
toysh | 0 [k1]=v1 (BashArray) [toysh stdout] Expected 'v2\nv2\n', got '' [toysh status] Expected 0, got 2 stdout: stderr: main: line 1: sh: syntax error: [k1]=v1 |
dash | 1 [k1]=v1 (BashAssoc) [dash stdout] Expected 'v1\nv2\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: declare: not found dash: 2: Syntax error: "(" unexpected |
ash | 1 [k1]=v1 (BashAssoc) [ash stdout] Expected 'v1\nv2\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: declare: not found ash: syntax error: unexpected "(" |
zsh | 1 [k1]=v1 (BashAssoc) [zsh stdout] Expected 'v1\nv2\n', got '' [zsh status] Expected 0, got 1 stdout: stderr: zsh: no matches found: [k1]=v1 |
mksh | 1 [k1]=v1 (BashAssoc) [mksh stdout] Expected 'v1\nv2\n', got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[1]: declare: not found mksh: <stdin>[3]: "k1": unexpected '"' |
ksh | 1 [k1]=v1 (BashAssoc) [ksh stdout] Expected 'v1\nv2\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[1]: declare: inaccessible or not found W: ksh: <stdin>[3]: "k1": unexpected '"' |
toysh | 1 [k1]=v1 (BashAssoc) [toysh stdout] Expected 'v1\nv2\n', got '' [toysh status] Expected 0, got 2 stdout: stderr: main: line 2: sh: syntax error: [k1]=v1 |
dash | 2 [k1]=v1 looking like brace expansions (BashArray) [dash stdout] Expected '-{a,b}-\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: declare: not found dash: 2: Syntax error: "(" unexpected |
ash | 2 [k1]=v1 looking like brace expansions (BashArray) [ash stdout] Expected '-{a,b}-\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: declare: not found ash: syntax error: unexpected "(" |
zsh | 2 [k1]=v1 looking like brace expansions (BashArray) [zsh stdout] Expected '-{a,b}-\n', got '' [zsh status] Expected 0, got 1 stdout: stderr: zsh: no matches found: [k2]=-a- |
mksh | 2 [k1]=v1 looking like brace expansions (BashArray) [mksh stdout] Expected '-{a,b}-\n', got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[1]: declare: not found mksh: <stdin>[3]: "k2": unexpected '"' |
ksh | 2 [k1]=v1 looking like brace expansions (BashArray) [ksh stdout] Expected '-{a,b}-\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[1]: declare: inaccessible or not found W: ksh: <stdin>[3]: "k2": unexpected '"' |
toysh | 2 [k1]=v1 looking like brace expansions (BashArray) [toysh stdout] Expected '-{a,b}-\n', got '' [toysh status] Expected 0, got 2 stdout: stderr: main: line 2: sh: syntax error: [k2]=-{a,b}- |
sush | 2 [k1]=v1 looking like brace expansions (BashArray) [sush stdout] Expected '-{a,b}-\n', got '-b-\n' stdout: -b-stderr: |
brush | 2 [k1]=v1 looking like brace expansions (BashArray) [brush stdout] Expected '-{a,b}-\n', got '-a- -b-\n' stdout: -a- -b-stderr: |
bash | 3 [k1]=v1 looking like brace expansions (BashAssoc) stdout: [k2]=-a-stderr: |
dash | 3 [k1]=v1 looking like brace expansions (BashAssoc) [dash stdout] Expected '-{a,b}-\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: Syntax error: "(" unexpected |
ash | 3 [k1]=v1 looking like brace expansions (BashAssoc) [ash stdout] Expected '-{a,b}-\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: syntax error: unexpected "(" |
zsh | 3 [k1]=v1 looking like brace expansions (BashAssoc) [zsh stdout] Expected '-{a,b}-\n', got '' [zsh status] Expected 0, got 1 stdout: stderr: zsh: no matches found: [k2]=-a- |
mksh | 3 [k1]=v1 looking like brace expansions (BashAssoc) [mksh stdout] Expected '-{a,b}-\n', got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[2]: "k2": unexpected '"' |
ksh | 3 [k1]=v1 looking like brace expansions (BashAssoc) [ksh stdout] Expected '-{a,b}-\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: W: ksh: <stdin>[2]: "k2": unexpected '"' |
toysh | 3 [k1]=v1 looking like brace expansions (BashAssoc) [toysh stdout] Expected '-{a,b}-\n', got '' [toysh status] Expected 0, got 2 stdout: stderr: main: line 1: sh: syntax error: [k2]=-{a,b}- |
sush | 3 [k1]=v1 looking like brace expansions (BashAssoc) [sush stdout] Expected '-{a,b}-\n', got '-b-\n' stdout: -b-stderr: |
brush | 3 [k1]=v1 looking like brace expansions (BashAssoc) [brush stdout] Expected '-{a,b}-\n', got '-a- -b-\n' stdout: -a- -b-stderr: |
dash | 4 BashArray cannot be changed to BashAssoc and vice versa [dash stdout] Expected "status=1\n['1', '2', '3', '4']\nstatus=1\n['x', 'y', 'z']\n" Got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: Syntax error: "(" unexpected |
ash | 4 BashArray cannot be changed to BashAssoc and vice versa [ash stdout] Expected "status=1\n['1', '2', '3', '4']\nstatus=1\n['x', 'y', 'z']\n" Got '' [ash status] Expected 0, got 2 stdout: stderr: ash: syntax error: unexpected "(" |
zsh | 4 BashArray cannot be changed to BashAssoc and vice versa [zsh stdout] Expected "status=1\n['1', '2', '3', '4']\nstatus=1\n['x', 'y', 'z']\n" Got "status=1\n['1', '2', '3', '4']\nstatus=0\n['1', '2', '3', '4']\n" stdout: status=1 ['1', '2', '3', '4'] status=0 ['1', '2', '3', '4']stderr: zsh: no matches found: [a]=x zsh: no matches found: [a]=x |
mksh | 4 BashArray cannot be changed to BashAssoc and vice versa [mksh stdout] Expected "status=1\n['1', '2', '3', '4']\nstatus=1\n['x', 'y', 'z']\n" Got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[1]: syntax error: '(' unexpected |
ksh | 4 BashArray cannot be changed to BashAssoc and vice versa [ksh stdout] Expected "status=1\n['1', '2', '3', '4']\nstatus=1\n['x', 'y', 'z']\n" Got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[1]: syntax error: unexpected '(' |
toysh | 4 BashArray cannot be changed to BashAssoc and vice versa [toysh stdout] Expected "status=1\n['1', '2', '3', '4']\nstatus=1\n['x', 'y', 'z']\n" Got '' [toysh status] Expected 0, got 2 stdout: stderr: main: line 1: sh: syntax error: ) |
sush | 4 BashArray cannot be changed to BashAssoc and vice versa [sush stdout] Expected "status=1\n['1', '2', '3', '4']\nstatus=1\n['x', 'y', 'z']\n" Got "status=0\n['1', '2', '3', '4']\nstatus=0\n['x', 'z']\n" stdout: status=0 ['1', '2', '3', '4'] status=0 ['x', 'z']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: |
dash | 5 s+=() with strict_array [dash stdout] Expected 'status=0\ndeclare -a s1=(1 2 3 4)\nstatus=1\ndeclare -- s2=world\n' Got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 1: eval: Syntax error: "(" unexpected |
ash | 5 s+=() with strict_array [ash stdout] Expected 'status=0\ndeclare -a s1=(1 2 3 4)\nstatus=1\ndeclare -- s2=world\n' Got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: eval: line 6: syntax error: unexpected "(" |
zsh | 5 s+=() with strict_array [zsh stdout] Expected 'status=0\ndeclare -a s1=(1 2 3 4)\nstatus=1\ndeclare -- s2=world\n' Got 'status=0\ntypeset -a s1\ns1=( 1 2 3 4 )\nstatus=0\ntypeset -a s2\ns2=( world 1 2 3 4 )\n' stdout: status=0 typeset -a s1 s1=( 1 2 3 4 ) status=0 typeset -a s2 s2=( world 1 2 3 4 )stderr: zsh: command not found: shopt |
mksh | 5 s+=() with strict_array [mksh stdout] Expected 'status=0\ndeclare -a s1=(1 2 3 4)\nstatus=1\ndeclare -- s2=world\n' Got 'status=0\nstatus=0\n' [mksh status] Expected 0, got 127 stdout: status=0 status=0stderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[8]: declare: not found mksh: <stdin>[11]: declare: not found |
ksh | 5 s+=() with strict_array [ksh stdout] Expected 'status=0\ndeclare -a s1=(1 2 3 4)\nstatus=1\ndeclare -- s2=world\n' Got 'status=0\nstatus=0\n' [ksh status] Expected 0, got 127 stdout: status=0 status=0stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found E: ksh: <stdin>[8]: declare: inaccessible or not found E: ksh: <stdin>[11]: declare: inaccessible or not found |
toysh | 5 s+=() with strict_array [toysh stdout] Expected 'status=0\ndeclare -a s1=(1 2 3 4)\nstatus=1\ndeclare -- s2=world\n' Got '' [toysh status] Expected 0, got -6 stdout: stderr: sh: shopt: No such file or directory munmap_chunk(): invalid pointer |
sush | 5 s+=() with strict_array [sush stdout] Expected 'status=0\ndeclare -a s1=(1 2 3 4)\nstatus=1\ndeclare -- s2=world\n' Got 'status=1\ndeclare -a s1=([0]="1" [1]="2" [2]="3" [3]="4")\nstatus=0\ndeclare -a s2=([0]="1" [1]="2" [2]="3" [3]="4")\n' stdout: status=1 declare -a s1=([0]="1" [1]="2" [2]="3" [3]="4") status=0 declare -a s2=([0]="1" [1]="2" [2]="3" [3]="4")stderr: sush: shopt: --: invalid shell option name shopt: usage: shopt [-su] [optname ...] |
brush | 5 s+=() with strict_array [brush stdout] Expected 'status=0\ndeclare -a s1=(1 2 3 4)\nstatus=1\ndeclare -- s2=world\n' Got 'status=0\ndeclare -a s1=([0]="1" [1]="2" [2]="3" [3]="4")\nstatus=0\ndeclare -a s2=([0]="world" [1]="1" [2]="2" [3]="3" [4]="4")\n' 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: error: unexpected argument '--set' found tip: to pass '--set' as a value, use '-- --set' Usage: shopt [OPTIONS] [OPTIONS]... For more information, try '--help'. |
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: |
dash | 6 declare -A s+=() with strict_array [dash stdout] Expected "status=0\ndeclare -A s1=(['a']=x ['b']=y)\nstatus=1\ndeclare -- s2=world\n" Got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 1: eval: Syntax error: "(" unexpected |
ash | 6 declare -A s+=() with strict_array [ash stdout] Expected "status=0\ndeclare -A s1=(['a']=x ['b']=y)\nstatus=1\ndeclare -- s2=world\n" Got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: eval: line 6: syntax error: unexpected "(" |
zsh | 6 declare -A s+=() with strict_array [zsh stdout] Expected "status=0\ndeclare -A s1=(['a']=x ['b']=y)\nstatus=1\ndeclare -- s2=world\n" Got 'status=1\ntypeset s1=hello\nstatus=1\ntypeset s2=world\n' stdout: status=1 typeset s1=hello status=1 typeset s2=worldstderr: zsh: command not found: shopt zsh: no matches found: [a]=x zsh: no matches found: [a]=x |
mksh | 6 declare -A s+=() with strict_array [mksh stdout] Expected "status=0\ndeclare -A s1=(['a']=x ['b']=y)\nstatus=1\ndeclare -- s2=world\n" Got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[1]: shopt: not found mksh: syntax error: '(' unexpected |
ksh | 6 declare -A s+=() with strict_array [ksh stdout] Expected "status=0\ndeclare -A s1=(['a']=x ['b']=y)\nstatus=1\ndeclare -- s2=world\n" Got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found E: ksh: syntax error: unexpected '(' |
toysh | 6 declare -A s+=() with strict_array [toysh stdout] Expected "status=0\ndeclare -A s1=(['a']=x ['b']=y)\nstatus=1\ndeclare -- s2=world\n" Got '' [toysh status] Expected 0, got -6 stdout: stderr: sh: shopt: No such file or directory munmap_chunk(): invalid pointer |
sush | 6 declare -A s+=() with strict_array [sush stdout] Expected "status=0\ndeclare -A s1=(['a']=x ['b']=y)\nstatus=1\ndeclare -- s2=world\n" Got 'status=0\ndeclare -- s1=hello\nstatus=0\ndeclare -- s2=world\n' stdout: status=0 declare -- s1=hello status=0 declare -- s2=worldstderr: sush: shopt: --: invalid shell option name shopt: usage: shopt [-su] [optname ...] |
brush | 6 declare -A s+=() with strict_array [brush stdout] Expected "status=0\ndeclare -A s1=(['a']=x ['b']=y)\nstatus=1\ndeclare -- s2=world\n" Got 'status=0\ndeclare -A s1=([a]="x" [b]="y" )\nstatus=0\ndeclare -A s2=([a]="x" [b]="y" )\n' stdout: status=0 declare -A s1=([a]="x" [b]="y" ) status=0 declare -A s2=([a]="x" [b]="y" )stderr: error: unexpected argument '--set' found tip: to pass '--set' as a value, use '-- --set' Usage: shopt [OPTIONS] [OPTIONS]... For more information, try '--help'. |
bash | 7 assoc=(key value ...) is not allowed in the strict_array mode stdout: declare -A a=([3]="4" [1]="2" )stderr: |
dash | 7 assoc=(key value ...) is not allowed in the strict_array mode [dash stdout] Expected 'declare -A a=()\n', got '' [dash status] Expected 0, got 2 stdout: stderr: dash: 1: shopt: not found dash: 3: Syntax error: "(" unexpected |
ash | 7 assoc=(key value ...) is not allowed in the strict_array mode [ash stdout] Expected 'declare -A a=()\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: shopt: not found ash: syntax error: unexpected "(" |
zsh | 7 assoc=(key value ...) is not allowed in the strict_array mode [zsh stdout] Expected 'declare -A a=()\n', got 'typeset -a a\na=( 1 2 3 4 )\n' stdout: typeset -a a a=( 1 2 3 4 )stderr: zsh: command not found: shopt zsh: no matches found: [a]=b |
mksh | 7 assoc=(key value ...) is not allowed in the strict_array mode [mksh stdout] Expected 'declare -A a=()\n', got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[3]: syntax error: '(' unexpected |
ksh | 7 assoc=(key value ...) is not allowed in the strict_array mode [ksh stdout] Expected 'declare -A a=()\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found E: ksh: <stdin>[3]: syntax error: unexpected '(' |
toysh | 7 assoc=(key value ...) is not allowed in the strict_array mode [toysh stdout] Expected 'declare -A a=()\n', got '' [toysh status] Expected 0, got -6 stdout: stderr: sh: shopt: No such file or directory munmap_chunk(): invalid pointer |
sush | 7 assoc=(key value ...) is not allowed in the strict_array mode [sush stdout] Expected 'declare -A a=()\n', got 'declare -a a=([0]="1" [1]="2" [2]="3" [3]="4")\n' stdout: declare -a a=([0]="1" [1]="2" [2]="3" [3]="4")stderr: sush: shopt: --: invalid shell option name shopt: usage: shopt [-su] [optname ...] |
brush | 7 assoc=(key value ...) is not allowed in the strict_array mode [brush stdout] Expected 'declare -A a=()\n', got 'declare -A a=([1]="2" [3]="4" )\n' stdout: declare -A a=([1]="2" [3]="4" )stderr: error: unexpected argument '--set' found tip: to pass '--set' as a value, use '-- --set' Usage: shopt [OPTIONS] [OPTIONS]... For more information, try '--help'. |