43 passed, 0 OK, 3 not implemented, 4 BUG, 140 failed, 0 timeouts, 0 cases skipped
dash | 0 Tilde expansions in RHS of [k]=v (BashArray) [dash stdout] Expected '/home/user\n/home/user:/home/user:/home/user\n' Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 2: Syntax error: "(" unexpected |
ash | 0 Tilde expansions in RHS of [k]=v (BashArray) [ash stdout] Expected '/home/user\n/home/user:/home/user:/home/user\n' Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: syntax error: unexpected "(" |
zsh | 0 Tilde expansions in RHS of [k]=v (BashArray) [zsh stdout] Expected '/home/user\n/home/user:/home/user:/home/user\n' Got '' [zsh status] Expected 0 Got 1 stdout: stderr: zsh: no matches found: [2]=~ |
mksh | 0 Tilde expansions in RHS of [k]=v (BashArray) [mksh stdout] Expected '/home/user\n/home/user:/home/user:/home/user\n' Got '\n\n' stdout: stderr: |
ksh | 0 Tilde expansions in RHS of [k]=v (BashArray) [ksh stdout] Expected '/home/user\n/home/user:/home/user:/home/user\n' Got '\n\n' stdout: stderr: |
toysh | 0 Tilde expansions in RHS of [k]=v (BashArray) [toysh stdout] Expected '/home/user\n/home/user:/home/user:/home/user\n' Got '' [toysh status] Expected 0 Got 2 stdout: stderr: main: line 2: sh: syntax error: [2]=~ |
sush | 0 Tilde expansions in RHS of [k]=v (BashArray) [sush stdout] Expected '/home/user\n/home/user:/home/user:/home/user\n' Got '/home/user\n~:~:~\n' stdout: /home/user ~:~:~stderr: |
brush | 0 Tilde expansions in RHS of [k]=v (BashArray) [brush stdout] Expected '/home/user\n/home/user:/home/user:/home/user\n' Got '/home/user\n/home/user:~:~\n' stdout: /home/user /home/user:~:~stderr: |
bash | 1 Tilde expansions in RHS of [k]=v (BashAssoc) stdout: ~ ~:~:~stderr: |
dash | 1 Tilde expansions in RHS of [k]=v (BashAssoc) [dash stdout] Expected '/home/user\n/home/user:/home/user:/home/user\n' Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 2: declare: not found dash: 3: Syntax error: "(" unexpected |
ash | 1 Tilde expansions in RHS of [k]=v (BashAssoc) [ash stdout] Expected '/home/user\n/home/user:/home/user:/home/user\n' Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: declare: not found ash: syntax error: unexpected "(" |
zsh | 1 Tilde expansions in RHS of [k]=v (BashAssoc) [zsh stdout] Expected '/home/user\n/home/user:/home/user:/home/user\n' Got '\n\n' stdout: stderr: zsh: no matches found: [home]=~ |
mksh | 1 Tilde expansions in RHS of [k]=v (BashAssoc) [mksh stdout] Expected '/home/user\n/home/user:/home/user:/home/user\n' Got '' [mksh status] Expected 0 Got 1 stdout: stderr: mksh: <stdin>[2]: declare: not found mksh: <stdin>[3]: syntax error: '(' unexpected |
ksh | 1 Tilde expansions in RHS of [k]=v (BashAssoc) [ksh stdout] Expected '/home/user\n/home/user:/home/user:/home/user\n' Got '' [ksh status] Expected 0 Got 1 stdout: stderr: E: ksh: <stdin>[2]: declare: inaccessible or not found E: ksh: <stdin>[3]: syntax error: unexpected '(' |
toysh | 1 Tilde expansions in RHS of [k]=v (BashAssoc) [toysh stdout] Expected '/home/user\n/home/user:/home/user:/home/user\n' Got '' [toysh status] Expected 0 Got 2 stdout: stderr: main: line 3: sh: syntax error: ) |
sush | 1 Tilde expansions in RHS of [k]=v (BashAssoc) [sush stdout] Expected '/home/user\n/home/user:/home/user:/home/user\n' Got '/home/user\n~:~:~\n' stdout: /home/user ~:~:~stderr: |
brush | 1 Tilde expansions in RHS of [k]=v (BashAssoc) [brush stdout] Expected '/home/user\n/home/user:/home/user:/home/user\n' Got '/home/user\n/home/user:~:~\n' stdout: /home/user /home/user:~:~stderr: |
dash | 2 index increments without [k]= (BashArray) [dash stdout] Expected "keys: ['100', '101', '102', '103']\nvals: ['1', '2', '3', '4']\nkeys: ['5', '6', '7', '8', '100', '101', '102', '103']\nvals: ['a', 'b', 'c', 'd', '1', '2', '3', '4']\n" Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 1: Syntax error: "(" unexpected |
ash | 2 index increments without [k]= (BashArray) [ash stdout] Expected "keys: ['100', '101', '102', '103']\nvals: ['1', '2', '3', '4']\nkeys: ['5', '6', '7', '8', '100', '101', '102', '103']\nvals: ['a', 'b', 'c', 'd', '1', '2', '3', '4']\n" Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: syntax error: unexpected "(" |
zsh | 2 index increments without [k]= (BashArray) [zsh stdout] Expected "keys: ['100', '101', '102', '103']\nvals: ['1', '2', '3', '4']\nkeys: ['5', '6', '7', '8', '100', '101', '102', '103']\nvals: ['a', 'b', 'c', 'd', '1', '2', '3', '4']\n" Got '' [zsh status] Expected 0 Got 1 stdout: stderr: zsh: no matches found: [100]=1 |
mksh | 2 index increments without [k]= (BashArray) [mksh stdout] Expected "keys: ['100', '101', '102', '103']\nvals: ['1', '2', '3', '4']\nkeys: ['5', '6', '7', '8', '100', '101', '102', '103']\nvals: ['a', 'b', 'c', 'd', '1', '2', '3', '4']\n" Got "keys: ['0', '1', '2', '3']\nvals: ['[100]=1', '2', '3', '4']\nkeys: ['0', '1', '2', '3', '4', '5', '6', '7']\nvals: ['[100]=1', '2', '3', '4', '[5]=a', 'b', 'c', 'd']\n" stdout: keys: ['0', '1', '2', '3'] vals: ['[100]=1', '2', '3', '4'] keys: ['0', '1', '2', '3', '4', '5', '6', '7'] vals: ['[100]=1', '2', '3', '4', '[5]=a', 'b', 'c', 'd']stderr: |
ksh | 2 index increments without [k]= (BashArray) [ksh stdout] Expected "keys: ['100', '101', '102', '103']\nvals: ['1', '2', '3', '4']\nkeys: ['5', '6', '7', '8', '100', '101', '102', '103']\nvals: ['a', 'b', 'c', 'd', '1', '2', '3', '4']\n" Got "keys: ['0', '1', '2', '3']\nvals: ['[100]=1', '2', '3', '4']\nkeys: ['0', '1', '2', '3', '4', '5', '6', '7']\nvals: ['[100]=1', '2', '3', '4', '[5]=a', 'b', 'c', 'd']\n" stdout: keys: ['0', '1', '2', '3'] vals: ['[100]=1', '2', '3', '4'] keys: ['0', '1', '2', '3', '4', '5', '6', '7'] vals: ['[100]=1', '2', '3', '4', '[5]=a', 'b', 'c', 'd']stderr: |
toysh | 2 index increments without [k]= (BashArray) [toysh stdout] Expected "keys: ['100', '101', '102', '103']\nvals: ['1', '2', '3', '4']\nkeys: ['5', '6', '7', '8', '100', '101', '102', '103']\nvals: ['a', 'b', 'c', 'd', '1', '2', '3', '4']\n" Got '' [toysh status] Expected 0 Got 2 stdout: stderr: main: line 1: sh: syntax error: [100]=1 |
dash | 3 [k]=$v and [k]="$@" (BashArray) [dash stdout] Expected "keys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '1 2 3']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\n" Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 3: Syntax error: "(" unexpected |
ash | 3 [k]=$v and [k]="$@" (BashArray) [ash stdout] Expected "keys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '1 2 3']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\n" Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: syntax error: unexpected "(" |
zsh | 3 [k]=$v and [k]="$@" (BashArray) [zsh stdout] Expected "keys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '1 2 3']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\n" Got '' [zsh status] Expected 0 Got 1 stdout: stderr: zsh: no matches found: [i]=1 2 3 |
mksh | 3 [k]=$v and [k]="$@" (BashArray) [mksh stdout] Expected "keys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '1 2 3']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\n" Got "keys: ['0', '1', '2', '3', '4', '5']\nvals: ['1', '2', '3', '[i]=1', '2', '3']\nkeys: ['0', '1', '2', '3']\nvals: ['1', '2', '3', '[i]=3 5 7']\nkeys: ['0', '1', '2', '3', '4', '5']\nvals: ['1', '2', '3', '[i]=3', '5', '7']\nkeys: ['0', '1', '2', '3', '4', '5']\nvals: ['1', '2', '3', '[i]=3', '5', '7']\nkeys: ['0', '1', '2', '3', '4', '5']\nvals: ['1', '2', '3', '[i]=3', '5', '7']\n" stdout: keys: ['0', '1', '2', '3', '4', '5'] vals: ['1', '2', '3', '[i]=1', '2', '3'] keys: ['0', '1', '2', '3'] vals: ['1', '2', '3', '[i]=3 5 7'] keys: ['0', '1', '2', '3', '4', '5'] vals: ['1', '2', '3', '[i]=3', '5', '7'] keys: ['0', '1', '2', '3', '4', '5'] vals: ['1', '2', '3', '[i]=3', '5', '7'] keys: ['0', '1', '2', '3', '4', '5'] vals: ['1', '2', '3', '[i]=3', '5', '7']stderr: |
ksh | 3 [k]=$v and [k]="$@" (BashArray) [ksh stdout] Expected "keys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '1 2 3']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\n" Got "keys: ['0', '1', '2', '3', '4', '5']\nvals: ['1', '2', '3', '[i]=1', '2', '3']\nkeys: ['0', '1', '2', '3']\nvals: ['1', '2', '3', '[i]=3 5 7']\nkeys: ['0', '1', '2', '3', '4', '5']\nvals: ['1', '2', '3', '[i]=3', '5', '7']\nkeys: ['0', '1', '2', '3', '4', '5']\nvals: ['1', '2', '3', '[i]=3', '5', '7']\nkeys: ['0', '1', '2', '3', '4', '5']\nvals: ['1', '2', '3', '[i]=3', '5', '7']\n" stdout: keys: ['0', '1', '2', '3', '4', '5'] vals: ['1', '2', '3', '[i]=1', '2', '3'] keys: ['0', '1', '2', '3'] vals: ['1', '2', '3', '[i]=3 5 7'] keys: ['0', '1', '2', '3', '4', '5'] vals: ['1', '2', '3', '[i]=3', '5', '7'] keys: ['0', '1', '2', '3', '4', '5'] vals: ['1', '2', '3', '[i]=3', '5', '7'] keys: ['0', '1', '2', '3', '4', '5'] vals: ['1', '2', '3', '[i]=3', '5', '7']stderr: |
toysh | 3 [k]=$v and [k]="$@" (BashArray) [toysh stdout] Expected "keys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '1 2 3']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\n" Got '' [toysh status] Expected 0 Got 2 stdout: stderr: main: line 3: sh: syntax error: $v |
sush | 3 [k]=$v and [k]="$@" (BashArray) [sush stdout] Expected "keys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '1 2 3']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\n" Got "keys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '7']\n" stdout: keys: ['0', '1', '2', '5'] vals: ['1', '2', '3', '3'] keys: ['0', '1', '2', '5'] vals: ['1', '2', '3', '3 5 7'] keys: ['0', '1', '2', '5'] vals: ['1', '2', '3', '7'] keys: ['0', '1', '2', '5'] vals: ['1', '2', '3', '7'] keys: ['0', '1', '2', '5'] vals: ['1', '2', '3', '7']stderr: |
brush | 3 [k]=$v and [k]="$@" (BashArray) [brush stdout] Expected "keys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '1 2 3']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\nkeys: ['0', '1', '2', '5']\nvals: ['1', '2', '3', '3 5 7']\n" Got "keys: ['0', '1', '2']\nvals: ['1 2 3', '2', '3']\nkeys: ['0', '1', '2']\nvals: ['3 5 7', '2', '3']\nkeys: ['0', '1', '2']\nvals: ['3 5 7', '2', '3']\nkeys: ['0', '1', '2']\nvals: ['3 5 7', '2', '3']\nkeys: ['0', '1', '2']\nvals: ['3 5 7', '2', '3']\n" stdout: keys: ['0', '1', '2'] vals: ['1 2 3', '2', '3'] keys: ['0', '1', '2'] vals: ['3 5 7', '2', '3'] keys: ['0', '1', '2'] vals: ['3 5 7', '2', '3'] keys: ['0', '1', '2'] vals: ['3 5 7', '2', '3'] keys: ['0', '1', '2'] vals: ['3 5 7', '2', '3']stderr: |
dash | 4 [k]=$v and [k]="$@" (BashAssoc) [dash stdout] Expected "keys: ['i']\nvals: ['1 2 3']\nkeys: ['i']\nvals: ['3 5 7']\nkeys: ['i']\nvals: ['3 5 7']\nkeys: ['i']\nvals: ['3 5 7']\nkeys: ['i']\nvals: ['3 5 7']\n" Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 3: declare: not found dash: 4: Syntax error: "(" unexpected |
ash | 4 [k]=$v and [k]="$@" (BashAssoc) [ash stdout] Expected "keys: ['i']\nvals: ['1 2 3']\nkeys: ['i']\nvals: ['3 5 7']\nkeys: ['i']\nvals: ['3 5 7']\nkeys: ['i']\nvals: ['3 5 7']\nkeys: ['i']\nvals: ['3 5 7']\n" Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: declare: not found ash: syntax error: unexpected "(" |
zsh | 4 [k]=$v and [k]="$@" (BashAssoc) [zsh stdout] Expected "keys: ['i']\nvals: ['1 2 3']\nkeys: ['i']\nvals: ['3 5 7']\nkeys: ['i']\nvals: ['3 5 7']\nkeys: ['i']\nvals: ['3 5 7']\nkeys: ['i']\nvals: ['3 5 7']\n" Got '' [zsh status] Expected 0 Got 1 stdout: stderr: zsh: no matches found: [i]=1 2 3 |
mksh | 4 [k]=$v and [k]="$@" (BashAssoc) [mksh stdout] Expected "keys: ['i']\nvals: ['1 2 3']\nkeys: ['i']\nvals: ['3 5 7']\nkeys: ['i']\nvals: ['3 5 7']\nkeys: ['i']\nvals: ['3 5 7']\nkeys: ['i']\nvals: ['3 5 7']\n" Got "keys: ['0', '1', '2']\nvals: ['[i]=1', '2', '3']\nkeys: ['0']\nvals: ['[i]=3 5 7']\nkeys: ['0', '1', '2']\nvals: ['[i]=3', '5', '7']\nkeys: ['0', '1', '2']\nvals: ['[i]=3', '5', '7']\nkeys: ['0', '1', '2']\nvals: ['[i]=3', '5', '7']\n" stdout: keys: ['0', '1', '2'] vals: ['[i]=1', '2', '3'] keys: ['0'] vals: ['[i]=3 5 7'] keys: ['0', '1', '2'] vals: ['[i]=3', '5', '7'] keys: ['0', '1', '2'] vals: ['[i]=3', '5', '7'] keys: ['0', '1', '2'] vals: ['[i]=3', '5', '7']stderr: mksh: <stdin>[3]: declare: not found |
ksh | 4 [k]=$v and [k]="$@" (BashAssoc) [ksh stdout] Expected "keys: ['i']\nvals: ['1 2 3']\nkeys: ['i']\nvals: ['3 5 7']\nkeys: ['i']\nvals: ['3 5 7']\nkeys: ['i']\nvals: ['3 5 7']\nkeys: ['i']\nvals: ['3 5 7']\n" Got "keys: ['0', '1', '2']\nvals: ['[i]=1', '2', '3']\nkeys: ['0']\nvals: ['[i]=3 5 7']\nkeys: ['0', '1', '2']\nvals: ['[i]=3', '5', '7']\nkeys: ['0', '1', '2']\nvals: ['[i]=3', '5', '7']\nkeys: ['0', '1', '2']\nvals: ['[i]=3', '5', '7']\n" stdout: keys: ['0', '1', '2'] vals: ['[i]=1', '2', '3'] keys: ['0'] vals: ['[i]=3 5 7'] keys: ['0', '1', '2'] vals: ['[i]=3', '5', '7'] keys: ['0', '1', '2'] vals: ['[i]=3', '5', '7'] keys: ['0', '1', '2'] vals: ['[i]=3', '5', '7']stderr: E: ksh: <stdin>[3]: declare: inaccessible or not found |
toysh | 4 [k]=$v and [k]="$@" (BashAssoc) [toysh stdout] Expected "keys: ['i']\nvals: ['1 2 3']\nkeys: ['i']\nvals: ['3 5 7']\nkeys: ['i']\nvals: ['3 5 7']\nkeys: ['i']\nvals: ['3 5 7']\nkeys: ['i']\nvals: ['3 5 7']\n" Got '' [toysh status] Expected 0 Got 2 stdout: stderr: main: line 4: sh: syntax error: [i]=$v |
dash | 5 append to element (BashArray) [dash stdout] Expected "keys: ['100']\nvals: ['12']\nkeys: ['100']\nvals: ['12:34:56']\n" Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 2: Syntax error: "(" unexpected |
ash | 5 append to element (BashArray) [ash stdout] Expected "keys: ['100']\nvals: ['12']\nkeys: ['100']\nvals: ['12:34:56']\n" Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: syntax error: unexpected "(" |
zsh | 5 append to element (BashArray) [zsh stdout] Expected "keys: ['100']\nvals: ['12']\nkeys: ['100']\nvals: ['12:34:56']\n" Got '' [zsh status] Expected 0 Got 1 stdout: stderr: zsh: no matches found: [hello]=1 |
mksh | 5 append to element (BashArray) [mksh stdout] Expected "keys: ['100']\nvals: ['12']\nkeys: ['100']\nvals: ['12:34:56']\n" Got "keys: ['0', '1']\nvals: ['[hello]=1', '[hello]+=2']\nkeys: ['0', '1', '2', '3']\nvals: ['[hello]=1', '[hello]+=2', '[hello]+=:34', '[hello]+=:56']\n" stdout: keys: ['0', '1'] vals: ['[hello]=1', '[hello]+=2'] keys: ['0', '1', '2', '3'] vals: ['[hello]=1', '[hello]+=2', '[hello]+=:34', '[hello]+=:56']stderr: |
ksh | 5 append to element (BashArray) [ksh stdout] Expected "keys: ['100']\nvals: ['12']\nkeys: ['100']\nvals: ['12:34:56']\n" Got "keys: ['0', '1']\nvals: ['[hello]=1', '[hello]+=2']\nkeys: ['0', '1', '2', '3']\nvals: ['[hello]=1', '[hello]+=2', '[hello]+=:34', '[hello]+=:56']\n" stdout: keys: ['0', '1'] vals: ['[hello]=1', '[hello]+=2'] keys: ['0', '1', '2', '3'] vals: ['[hello]=1', '[hello]+=2', '[hello]+=:34', '[hello]+=:56']stderr: |
toysh | 5 append to element (BashArray) [toysh stdout] Expected "keys: ['100']\nvals: ['12']\nkeys: ['100']\nvals: ['12:34:56']\n" Got '' [toysh status] Expected 0 Got 2 stdout: stderr: main: line 2: sh: syntax error: [hello]=1 |
sush | 5 append to element (BashArray) [sush stdout] Expected "keys: ['100']\nvals: ['12']\nkeys: ['100']\nvals: ['12:34:56']\n" Got "keys: ['100', '101']\nvals: ['1', '[hello]+=2']\nkeys: ['100', '101', '102', '103']\nvals: ['1', '[hello]+=2', '[hello]+=:34', '[hello]+=:56']\n" stdout: keys: ['100', '101'] vals: ['1', '[hello]+=2'] keys: ['100', '101', '102', '103'] vals: ['1', '[hello]+=2', '[hello]+=:34', '[hello]+=:56']stderr: |
brush | 5 append to element (BashArray) [brush stdout] Expected "keys: ['100']\nvals: ['12']\nkeys: ['100']\nvals: ['12:34:56']\n" Got "keys: ['0', '1']\nvals: ['1', '[hello]+=2']\nkeys: ['0', '1', '2', '3']\nvals: ['1', '[hello]+=2', '[hello]+=:34', '[hello]+=:56']\n" stdout: keys: ['0', '1'] vals: ['1', '[hello]+=2'] keys: ['0', '1', '2', '3'] vals: ['1', '[hello]+=2', '[hello]+=:34', '[hello]+=:56']stderr: |
bash | 6 append to element (BashAssoc) stdout: keys: ['hello'] vals: ['2'] keys: ['hello'] vals: ['2:34:56']stderr: |
dash | 6 append to element (BashAssoc) [dash stdout] Expected "keys: ['hello']\nvals: ['12']\nkeys: ['hello']\nvals: ['12:34:56']\n" Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 1: declare: not found dash: 3: Syntax error: "(" unexpected |
ash | 6 append to element (BashAssoc) [ash stdout] Expected "keys: ['hello']\nvals: ['12']\nkeys: ['hello']\nvals: ['12:34:56']\n" Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: declare: not found ash: syntax error: unexpected "(" |
zsh | 6 append to element (BashAssoc) [zsh stdout] Expected "keys: ['hello']\nvals: ['12']\nkeys: ['hello']\nvals: ['12:34:56']\n" Got '' [zsh status] Expected 0 Got 1 stdout: stderr: zsh: no matches found: [hello]=1 |
mksh | 6 append to element (BashAssoc) [mksh stdout] Expected "keys: ['hello']\nvals: ['12']\nkeys: ['hello']\nvals: ['12:34:56']\n" Got "keys: ['0', '1']\nvals: ['[hello]=1', '[hello]+=2']\nkeys: ['0', '1', '2', '3']\nvals: ['[hello]=1', '[hello]+=2', '[hello]+=:34', '[hello]+=:56']\n" stdout: keys: ['0', '1'] vals: ['[hello]=1', '[hello]+=2'] keys: ['0', '1', '2', '3'] vals: ['[hello]=1', '[hello]+=2', '[hello]+=:34', '[hello]+=:56']stderr: mksh: <stdin>[1]: declare: not found |
ksh | 6 append to element (BashAssoc) [ksh stdout] Expected "keys: ['hello']\nvals: ['12']\nkeys: ['hello']\nvals: ['12:34:56']\n" Got "keys: ['0', '1']\nvals: ['[hello]=1', '[hello]+=2']\nkeys: ['0', '1', '2', '3']\nvals: ['[hello]=1', '[hello]+=2', '[hello]+=:34', '[hello]+=:56']\n" stdout: keys: ['0', '1'] vals: ['[hello]=1', '[hello]+=2'] keys: ['0', '1', '2', '3'] vals: ['[hello]=1', '[hello]+=2', '[hello]+=:34', '[hello]+=:56']stderr: E: ksh: <stdin>[1]: declare: inaccessible or not found |
toysh | 6 append to element (BashAssoc) [toysh stdout] Expected "keys: ['hello']\nvals: ['12']\nkeys: ['hello']\nvals: ['12:34:56']\n" Got '' [toysh status] Expected 0 Got 2 stdout: stderr: main: line 3: sh: syntax error: [hello]=1 |
sush | 6 append to element (BashAssoc) [sush stdout] Expected "keys: ['hello']\nvals: ['12']\nkeys: ['hello']\nvals: ['12:34:56']\n" Got "keys: ['1', 'hello']\nvals: ['[hello]+=2', '1']\nkeys: ['1', '[hello]+=:34', 'hello']\nvals: ['[hello]+=2', '[hello]+=:56', '1']\n" stdout: keys: ['1', 'hello'] vals: ['[hello]+=2', '1'] keys: ['1', '[hello]+=:34', 'hello'] vals: ['[hello]+=2', '[hello]+=:56', '1']stderr: |
brush | 6 append to element (BashAssoc) [brush stdout] Expected "keys: ['hello']\nvals: ['12']\nkeys: ['hello']\nvals: ['12:34:56']\n" Got "keys: ['[hello]+=2', 'hello']\nvals: ['', '1']\nkeys: ['[hello]+=2', '[hello]+=:34', 'hello']\nvals: ['', '[hello]+=:56', '1']\n" stdout: keys: ['[hello]+=2', 'hello'] vals: ['', '1'] keys: ['[hello]+=2', '[hello]+=:34', 'hello'] vals: ['', '[hello]+=:56', '1']stderr: |
bash | 7 non-index forms of element (BashAssoc) stdout: status=0 keys: ['j'] vals: ['1']stderr: bash: line 2: a: 2: must use subscript when assigning associative array bash: line 2: a: 3: must use subscript when assigning associative array bash: line 2: a: 4: must use subscript when assigning associative array |
dash | 7 non-index forms of element (BashAssoc) [dash status] Expected 1 Got 2 stdout: stderr: dash: 1: declare: not found dash: 2: Syntax error: "(" unexpected |
ash | 7 non-index forms of element (BashAssoc) [ash status] Expected 1 Got 2 stdout: stderr: ash: declare: not found ash: syntax error: unexpected "(" |
mksh | 7 non-index forms of element (BashAssoc) [mksh stdout] Expected '' Got "status=0\nkeys: ['0', '1', '2', '3']\nvals: ['[j]=1', '2', '3', '4']\n" [mksh status] Expected 1 Got 0 stdout: status=0 keys: ['0', '1', '2', '3'] vals: ['[j]=1', '2', '3', '4']stderr: mksh: <stdin>[1]: declare: not found |
ksh | 7 non-index forms of element (BashAssoc) [ksh stdout] Expected '' Got "status=0\nkeys: ['0', '1', '2', '3']\nvals: ['[j]=1', '2', '3', '4']\n" [ksh status] Expected 1 Got 0 stdout: status=0 keys: ['0', '1', '2', '3'] vals: ['[j]=1', '2', '3', '4']stderr: E: ksh: <stdin>[1]: declare: inaccessible or not found |
toysh | 7 non-index forms of element (BashAssoc) [toysh status] Expected 1 Got 2 stdout: stderr: main: line 2: sh: syntax error: [j]=1 |
sush | 7 non-index forms of element (BashAssoc) [sush stdout] Expected '' Got "status=0\nkeys: ['1', '2', '3', 'j']\nvals: ['2', '3', '4', '1']\n" [sush status] Expected 1 Got 0 stdout: status=0 keys: ['1', '2', '3', 'j'] vals: ['2', '3', '4', '1']stderr: |
brush | 7 non-index forms of element (BashAssoc) [brush stdout] Expected '' Got "status=0\nkeys: ['2', '4', 'j']\nvals: ['3', '', '1']\n" [brush status] Expected 1 Got 0 stdout: status=0 keys: ['2', '4', 'j'] vals: ['3', '', '1']stderr: |
dash | 8 Evaluation order (1) [dash stdout] Expected "keys: ['104', '205', '306']\nvals: ['1', '2', '3']\n" Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 2: Syntax error: "(" unexpected |
ash | 8 Evaluation order (1) [ash stdout] Expected "keys: ['104', '205', '306']\nvals: ['1', '2', '3']\n" Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: syntax error: unexpected "(" |
zsh | 8 Evaluation order (1) [zsh stdout] Expected "keys: ['104', '205', '306']\nvals: ['1', '2', '3']\n" Got '' [zsh status] Expected 0 Got 1 stdout: stderr: zsh: no matches found: [100+i++]=1 |
mksh | 8 Evaluation order (1) [mksh stdout] Expected "keys: ['104', '205', '306']\nvals: ['1', '2', '3']\n" Got "keys: ['0', '1', '2']\nvals: ['[100+i++]=1', '[200+i++]=2', '[300+i++]=3']\n" stdout: keys: ['0', '1', '2'] vals: ['[100+i++]=1', '[200+i++]=2', '[300+i++]=3']stderr: |
ksh | 8 Evaluation order (1) [ksh stdout] Expected "keys: ['104', '205', '306']\nvals: ['1', '2', '3']\n" Got "keys: ['0', '1', '2']\nvals: ['[100+i++]=1', '[200+i++]=2', '[300+i++]=3']\n" stdout: keys: ['0', '1', '2'] vals: ['[100+i++]=1', '[200+i++]=2', '[300+i++]=3']stderr: |
toysh | 8 Evaluation order (1) [toysh stdout] Expected "keys: ['104', '205', '306']\nvals: ['1', '2', '3']\n" Got '' [toysh status] Expected 0 Got 2 stdout: stderr: main: line 2: sh: syntax error: [100+i++]=$((i++)) |
brush | 8 Evaluation order (1) [brush stdout] Expected "keys: ['104', '205', '306']\nvals: ['1', '2', '3']\n" Got "keys: ['0']\nvals: ['3']\n" stdout: keys: ['0'] vals: ['3']stderr: |
dash | 9 Evaluation order (2) [dash stdout] Expected "keys: ['0', '6', '10']\nvals: ['1+2+3', '10', 'hello']\n" Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 1: Syntax error: "(" unexpected |
ash | 9 Evaluation order (2) [ash stdout] Expected "keys: ['0', '6', '10']\nvals: ['1+2+3', '10', 'hello']\n" Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: syntax error: unexpected "(" |
zsh | 9 Evaluation order (2) [zsh stdout] Expected "keys: ['0', '6', '10']\nvals: ['1+2+3', '10', 'hello']\n" Got '' [zsh status] Expected 0 Got 1 stdout: stderr: zsh: no matches found: [0]=1+2+3 |
mksh | 9 Evaluation order (2) [mksh stdout] Expected "keys: ['0', '6', '10']\nvals: ['1+2+3', '10', 'hello']\n" Got "keys: ['0', '1', '2']\nvals: ['[0]=1+2+3', '[a[0]]=10', '[a[6]]=hello']\n" stdout: keys: ['0', '1', '2'] vals: ['[0]=1+2+3', '[a[0]]=10', '[a[6]]=hello']stderr: |
ksh | 9 Evaluation order (2) [ksh stdout] Expected "keys: ['0', '6', '10']\nvals: ['1+2+3', '10', 'hello']\n" Got "keys: ['0', '1', '2']\nvals: ['[0]=1+2+3', '[a[0]]=10', '[a[6]]=hello']\n" stdout: keys: ['0', '1', '2'] vals: ['[0]=1+2+3', '[a[0]]=10', '[a[6]]=hello']stderr: |
toysh | 9 Evaluation order (2) [toysh stdout] Expected "keys: ['0', '6', '10']\nvals: ['1+2+3', '10', 'hello']\n" Got '' [toysh status] Expected 0 Got 2 stdout: stderr: main: line 1: sh: syntax error: [0]=1+2+3 |
sush | 9 Evaluation order (2) [sush stdout] Expected "keys: ['0', '6', '10']\nvals: ['1+2+3', '10', 'hello']\n" Got "keys: ['0']\nvals: ['hello']\n" stdout: keys: ['0'] vals: ['hello']stderr: |
brush | 9 Evaluation order (2) [brush stdout] Expected "keys: ['0', '6', '10']\nvals: ['1+2+3', '10', 'hello']\n" Got "keys: ['0', '1', '2']\nvals: ['1+2+3', '[a[0]]=10', '[a[6]]=hello']\n" stdout: keys: ['0', '1', '2'] vals: ['1+2+3', '[a[0]]=10', '[a[6]]=hello']stderr: |
dash | 10 Evaluation order (3) [dash stdout] Expected "keys: ['0', '1', '2', '3', '4']\nvals: ['old3', 'old1', 'old2', 'old3', 'old1']\nkeys: ['0', '1', '2', '5', '201', '202']\nvals: ['new1', 'new2', 'new3', 'old3', 'old1', 'old2']\n" Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 1: Syntax error: "(" unexpected |
ash | 10 Evaluation order (3) [ash stdout] Expected "keys: ['0', '1', '2', '3', '4']\nvals: ['old3', 'old1', 'old2', 'old3', 'old1']\nkeys: ['0', '1', '2', '5', '201', '202']\nvals: ['new1', 'new2', 'new3', 'old3', 'old1', 'old2']\n" Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: syntax error: unexpected "(" |
zsh | 10 Evaluation order (3) [zsh stdout] Expected "keys: ['0', '1', '2', '3', '4']\nvals: ['old3', 'old1', 'old2', 'old3', 'old1']\nkeys: ['0', '1', '2', '5', '201', '202']\nvals: ['new1', 'new2', 'new3', 'old3', 'old1', 'old2']\n" Got 'keys: ' [zsh status] Expected 0 Got 1 stdout: keys:stderr: zsh: bad substitution |
mksh | 10 Evaluation order (3) [mksh stdout] Expected "keys: ['0', '1', '2', '3', '4']\nvals: ['old3', 'old1', 'old2', 'old3', 'old1']\nkeys: ['0', '1', '2', '5', '201', '202']\nvals: ['new1', 'new2', 'new3', 'old3', 'old1', 'old2']\n" Got "keys: ['0', '1', '2', '3', '4']\nvals: ['old3', 'old1', 'old2', 'old3', 'old1']\nkeys: ['0', '1', '2', '3', '4', '5', '6', '7', '8']\nvals: ['old1', 'old2', 'old3', '[0]=new1', '[1]=new2', '[2]=new3', '[5]=old3', '[a[0]]=old1', '[a[1]]=old2']\n" stdout: keys: ['0', '1', '2', '3', '4'] vals: ['old3', 'old1', 'old2', 'old3', 'old1'] keys: ['0', '1', '2', '3', '4', '5', '6', '7', '8'] vals: ['old1', 'old2', 'old3', '[0]=new1', '[1]=new2', '[2]=new3', '[5]=old3', '[a[0]]=old1', '[a[1]]=old2']stderr: |
ksh | 10 Evaluation order (3) [ksh stdout] Expected "keys: ['0', '1', '2', '3', '4']\nvals: ['old3', 'old1', 'old2', 'old3', 'old1']\nkeys: ['0', '1', '2', '5', '201', '202']\nvals: ['new1', 'new2', 'new3', 'old3', 'old1', 'old2']\n" Got "keys: ['0', '1', '2', '3', '4']\nvals: ['old3', 'old1', 'old2', 'old3', 'old1']\nkeys: ['0', '1', '2', '3', '4', '5', '6', '7', '8']\nvals: ['old1', 'old2', 'old3', '[0]=new1', '[1]=new2', '[2]=new3', '[5]=old3', '[a[0]]=old1', '[a[1]]=old2']\n" stdout: keys: ['0', '1', '2', '3', '4'] vals: ['old3', 'old1', 'old2', 'old3', 'old1'] keys: ['0', '1', '2', '3', '4', '5', '6', '7', '8'] vals: ['old1', 'old2', 'old3', '[0]=new1', '[1]=new2', '[2]=new3', '[5]=old3', '[a[0]]=old1', '[a[1]]=old2']stderr: |
toysh | 10 Evaluation order (3) [toysh stdout] Expected "keys: ['0', '1', '2', '3', '4']\nvals: ['old3', 'old1', 'old2', 'old3', 'old1']\nkeys: ['0', '1', '2', '5', '201', '202']\nvals: ['new1', 'new2', 'new3', 'old3', 'old1', 'old2']\n" Got '' [toysh status] Expected 0 Got 2 stdout: stderr: main: line 1: sh: syntax error: old1 |
sush | 10 Evaluation order (3) [sush stdout] Expected "keys: ['0', '1', '2', '3', '4']\nvals: ['old3', 'old1', 'old2', 'old3', 'old1']\nkeys: ['0', '1', '2', '5', '201', '202']\nvals: ['new1', 'new2', 'new3', 'old3', 'old1', 'old2']\n" Got "keys: ['0', '1', '2', '3', '4']\nvals: ['old3', 'old1', 'old2', 'old3', 'old1']\nkeys: ['0', '1', '2', '5', '101']\nvals: ['old2', 'new2', 'new3', 'old3', 'old1']\n" stdout: keys: ['0', '1', '2', '3', '4'] vals: ['old3', 'old1', 'old2', 'old3', 'old1'] keys: ['0', '1', '2', '5', '101'] vals: ['old2', 'new2', 'new3', 'old3', 'old1']stderr: |
brush | 10 Evaluation order (3) [brush stdout] Expected "keys: ['0', '1', '2', '3', '4']\nvals: ['old3', 'old1', 'old2', 'old3', 'old1']\nkeys: ['0', '1', '2', '5', '201', '202']\nvals: ['new1', 'new2', 'new3', 'old3', 'old1', 'old2']\n" Got "keys: ['0', '1', '2', '3', '4']\nvals: ['old3', 'old1', 'old2', 'old3', 'old1']\nkeys: ['0', '1', '2', '5', '6', '7']\nvals: ['new1', 'new2', 'new3', 'old3', '[a[0]]=old1', '[a[1]]=old2']\n" stdout: keys: ['0', '1', '2', '3', '4'] vals: ['old3', 'old1', 'old2', 'old3', 'old1'] keys: ['0', '1', '2', '5', '6', '7'] vals: ['new1', 'new2', 'new3', 'old3', '[a[0]]=old1', '[a[1]]=old2']stderr: |
dash | 11 [k1]=v1 (BashArray) [dash stdout] Expected 'v2\nv2\n' Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 1: Syntax error: "(" unexpected |
ash | 11 [k1]=v1 (BashArray) [ash stdout] Expected 'v2\nv2\n' Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: syntax error: unexpected "(" |
zsh | 11 [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 | 11 [k1]=v1 (BashArray) [mksh stdout] Expected 'v2\nv2\n' Got '' [mksh status] Expected 0 Got 1 stdout: stderr: mksh: <stdin>[2]: "k1": unexpected '"' |
ksh | 11 [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 | 11 [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 | 12 [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 | 12 [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 | 12 [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 | 12 [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 | 12 [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 | 12 [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 | 13 [k1]=v1 looking like brace expansions (BashAssoc) [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 | 13 [k1]=v1 looking like brace expansions (BashAssoc) [ash stdout] Expected '-{a,b}-\n' Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: declare: not found ash: syntax error: unexpected "(" |
zsh | 13 [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 | 13 [k1]=v1 looking like brace expansions (BashAssoc) [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 | 13 [k1]=v1 looking like brace expansions (BashAssoc) [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 | 13 [k1]=v1 looking like brace expansions (BashAssoc) [toysh stdout] Expected '-{a,b}-\n' Got '' [toysh status] Expected 0 Got 2 stdout: stderr: main: line 2: sh: syntax error: [k2]=-{a,b}- |
brush | 13 [k1]=v1 looking like brace expansions (BashAssoc) [brush stdout] Expected '-{a,b}-\n' Got '-a- -b-\n' stdout: -a- -b-stderr: |
bash | 14 [k1]=v1 looking like brace expansions (BashArray) stdout: [k2]=-a-stderr: |
dash | 14 [k1]=v1 looking like brace expansions (BashArray) [dash stdout] Expected '-{a,b}-\n' Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 1: Syntax error: "(" unexpected |
ash | 14 [k1]=v1 looking like brace expansions (BashArray) [ash stdout] Expected '-{a,b}-\n' Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: syntax error: unexpected "(" |
zsh | 14 [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 | 14 [k1]=v1 looking like brace expansions (BashArray) [mksh stdout] Expected '-{a,b}-\n' Got '' [mksh status] Expected 0 Got 1 stdout: stderr: mksh: <stdin>[2]: "k2": unexpected '"' |
ksh | 14 [k1]=v1 looking like brace expansions (BashArray) [ksh stdout] Expected '-{a,b}-\n' Got '' [ksh status] Expected 0 Got 1 stdout: stderr: W: ksh: <stdin>[2]: "k2": unexpected '"' |
toysh | 14 [k1]=v1 looking like brace expansions (BashArray) [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 | 14 [k1]=v1 looking like brace expansions (BashArray) [sush stdout] Expected '-{a,b}-\n' Got '-b-\n' stdout: -b-stderr: |
brush | 14 [k1]=v1 looking like brace expansions (BashArray) [brush stdout] Expected '-{a,b}-\n' Got '-a- -b-\n' stdout: -a- -b-stderr: |
dash | 15 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 | 15 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 | 15 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 | 15 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 | 15 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 | 15 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 | 15 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=1\n['x', 'y', 'z']\n" stdout: status=0 ['1', '2', '3', '4'] status=1 ['x', 'y', 'z']stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 7: declare: TODO |
bash | 16 (strict_array) s+=() 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 | 16 (strict_array) s+=() [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 | 16 (strict_array) s+=() [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 | 16 (strict_array) s+=() [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 | 16 (strict_array) s+=() [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 | 16 (strict_array) s+=() [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 | 16 (strict_array) s+=() [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 | 16 (strict_array) s+=() [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]="world" [5]="1" [6]="2" [7]="3" [8]="4")\n' stdout: status=1 declare -a s1=([0]="1" [1]="2" [2]="3" [3]="4") status=0 declare -a s2=([0]="world" [5]="1" [6]="2" [7]="3" [8]="4")stderr: sush: shopt: --: invalid shell option name shopt: usage: shopt [-su] [optname ...] |
brush | 16 (strict_array) s+=() [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 | 17 (strict_array) declare -A s+=() stdout: status=0 declare -A s1=([b]="y" [a]="x" ) status=0 declare -A s2=([0]="world" [b]="y" [a]="x" )stderr: |
dash | 17 (strict_array) declare -A s+=() [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 | 17 (strict_array) declare -A s+=() [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 | 17 (strict_array) declare -A s+=() [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 | 17 (strict_array) declare -A s+=() [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 | 17 (strict_array) declare -A s+=() [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 | 17 (strict_array) declare -A s+=() [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 | 17 (strict_array) declare -A s+=() [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="world"stderr: sush: shopt: --: invalid shell option name shopt: usage: shopt [-su] [optname ...] |
brush | 17 (strict_array) declare -A s+=() [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 | 18 (strict_array) assoc=(key value ...) is not allowed stdout: declare -A a=([3]="4" [1]="2" )stderr: |
dash | 18 (strict_array) assoc=(key value ...) is not allowed [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 | 18 (strict_array) assoc=(key value ...) is not allowed [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 | 18 (strict_array) assoc=(key value ...) is not allowed [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 | 18 (strict_array) assoc=(key value ...) is not allowed [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 | 18 (strict_array) assoc=(key value ...) is not allowed [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 | 18 (strict_array) assoc=(key value ...) is not allowed [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 | 18 (strict_array) assoc=(key value ...) is not allowed [sush stdout] Expected 'declare -A a=()\n' Got 'declare -A a=([1]="2" [3]="4" )\n' stdout: declare -A a=([1]="2" [3]="4" )stderr: sush: shopt: --: invalid shell option name shopt: usage: shopt [-su] [optname ...] |
brush | 18 (strict_array) assoc=(key value ...) is not allowed [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'. |