39 passed, 0 OK, 25 not implemented, 11 BUG, 35 failed, 0 timeouts, 0 cases skipped
| bash | 0 builtin declare a=(x y) is allowed stdout: declare -a a=([0]="x" [1]="y") fail failstderr: bash: -c: line 1: syntax error near unexpected token `('
bash: -c: line 1: `builtin declare a=(x y); declare -p a'
bash: -c: line 1: syntax error near unexpected token `('
bash: -c: line 1: `builtin declare -a a=(x y); declare -p a'
|
| dash | 0 builtin declare a=(x y) is allowed stdout: stderr: |
| ash | 0 builtin declare a=(x y) is allowed stdout: stderr: |
| zsh | 0 builtin declare a=(x y) is allowed stdout: stderr: |
| mksh | 0 builtin declare a=(x y) is allowed stdout: stderr: |
| ksh | 0 builtin declare a=(x y) is allowed [ksh stdout] Expected 'declare -a a=(x y)\ndeclare -a a=(x y)\ndeclare -a a=(x y)\n' Got 'fail\nfail\nfail\n' stdout: fail fail failstderr: E: ksh: syntax error: unexpected '('
E: ksh: syntax error: unexpected '('
E: ksh: syntax error: unexpected '('
|
| toysh | 0 builtin declare a=(x y) is allowed [toysh stdout] Expected 'declare -a a=(x y)\ndeclare -a a=(x y)\ndeclare -a a=(x y)\n' Got '' [toysh status] Expected 0 Got -6 stdout: stderr: munmap_chunk(): invalid pointer |
| sush | 0 builtin declare a=(x y) is allowed [sush stdout] Expected 'declare -a a=(x y)\ndeclare -a a=(x y)\ndeclare -a a=(x y)\n' Got 'declare -a a=([0]="x" [1]="y")\nfail\nfail\n' stdout: declare -a a=([0]="x" [1]="y") fail failstderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: syntax error near unexpected token: (x /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: syntax error near unexpected token: (x |
| brush | 0 builtin declare a=(x y) is allowed [brush stdout] Expected 'declare -a a=(x y)\ndeclare -a a=(x y)\ndeclare -a a=(x y)\n' Got 'declare -a a=([0]="x" [1]="y")\ndeclare -a a=([0]="x" [1]="y")\ndeclare -a a=([0]="x" [1]="y")\n' stdout: declare -a a=([0]="x" [1]="y") declare -a a=([0]="x" [1]="y") declare -a a=([0]="x" [1]="y")stderr: |
| zsh | 1 command export,readonly stdout: stderr: |
| toysh | 1 command export,readonly [toysh stdout] Expected 'c=export\nc=readonly\n--\ncc=export\ncc=readonly\n' Got '' [toysh status] Expected 0 Got -6 stdout: stderr: munmap_chunk(): invalid pointer |
| sush | 1 command export,readonly [sush stdout] Expected 'c=export\nc=readonly\n--\ncc=export\ncc=readonly\n' Got 'c=\ndeclare -ar BASH_VERSINFO=([0]="1" [1]="2" [2]="2" [3]="rusty_bash" [4]="release" [5]="x86_64-unknown-linux")\ndeclare -ir UID="1000"\nc=\n--\ncc=\ndeclare -ar BASH_VERSINFO=([0]="1" [1]="2" [2]="2" [3]="rusty_bash" [4]="release" [5]="x86_64-unknown-linux")\ndeclare -ir UID="1000"\ncc=\n' stdout: c= declare -ar BASH_VERSINFO=([0]="1" [1]="2" [2]="2" [3]="rusty_bash" [4]="release" [5]="x86_64-unknown-linux") declare -ir UID="1000" c= -- cc= declare -ar BASH_VERSINFO=([0]="1" [1]="2" [2]="2" [3]="rusty_bash" [4]="release" [5]="x86_64-unknown-linux") declare -ir UID="1000" cc=stderr: |
| brush | 1 command export,readonly [brush stdout] Expected 'c=export\nc=readonly\n--\ncc=export\ncc=readonly\n' Got 'c=\nc=\n--\ncc=\ncc=\n' stdout: c= c= -- cc= cc=stderr: readonly: c=readonly: not a valid variable name readonly: cc=readonly: not a valid variable name |
| dash | 2 command local stdout: s=stderr: |
| ash | 2 command local stdout: s=stderr: |
| zsh | 2 command local stdout: s=stderr: f:1: command not found: local |
| mksh | 2 command local stdout: s=stderr: mksh: <stdin>[6]: local: not found |
| ksh | 2 command local [ksh stdout] Expected 's=local\n' Got 's=\n' stdout: s=stderr: E: ksh: <stdin>[6]: local: inaccessible or not found |
| toysh | 2 command local [toysh stdout] Expected 's=local\n' Got 's=\n' stdout: s=stderr: sh: command: No such file or directory |
| sush | 2 command local [sush stdout] Expected 's=local\n' Got 's=\n' stdout: s=stderr: |
| brush | 2 command local [brush stdout] Expected 's=local\n' Got 's=\n' stdout: s=stderr: local: s=local: not a valid variable name |
| bash | 3 export, builtin export stdout: a b astderr: |
| dash | 3 export, builtin export stdout: astderr: dash: 6: builtin: not found |
| ash | 3 export, builtin export stdout: a bstderr: ash: builtin: not found |
| mksh | 3 export, builtin export stdout: a b astderr: |
| ksh | 3 export, builtin export [ksh stdout] Expected 'a b\na b\n' Got 'a b\na\n' stdout: a b astderr: |
| toysh | 3 export, builtin export [toysh stdout] Expected 'a b\na b\n' Got 'a\n\n' stdout: astderr: sh: builtin: No such file or directory |
| sush | 3 export, builtin export [sush stdout] Expected 'a b\na b\n' Got 'a b\n\n' stdout: a bstderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 6: builtin: export: not a shell builtin |
| bash | 4 \builtin declare - ble.sh relies on it stdout: a a a a astderr: |
| dash | 4 \builtin declare - ble.sh relies on it stdout: stderr: |
| ash | 4 \builtin declare - ble.sh relies on it stdout: stderr: |
| mksh | 4 \builtin declare - ble.sh relies on it stdout: stderr: |
| ksh | 4 \builtin declare - ble.sh relies on it [ksh stdout] Expected 'a b\na b\na b\na b\na b\n' Got '' [ksh status] Expected 0 Got 1 stdout: stderr: E: ksh: <stdin>[5]: builtin: declare: not found |
| toysh | 4 \builtin declare - ble.sh relies on it [toysh stdout] Expected 'a b\na b\na b\na b\na b\n' Got '' [toysh status] Expected 0 Got -6 stdout: stderr: munmap_chunk(): invalid pointer |
| sush | 4 \builtin declare - ble.sh relies on it [sush stdout] Expected 'a b\na b\na b\na b\na b\n' Got '\n\n\n\n\n' stdout: stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 5: builtin: declare: not a shell builtin /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 8: builtin: declare: not a shell builtin /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 11: builtin: declare: not a shell builtin /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 15: builtin: declare: not a shell builtin /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 19: builtin: declare: not a shell builtin |
| bash | 5 \command readonly - similar issue stdout: a b a a astderr: |
| dash | 5 \command readonly - similar issue stdout: a a a astderr: |
| zsh | 5 \command readonly - similar issue stdout: stderr: |
| toysh | 5 \command readonly - similar issue [toysh stdout] Expected 'a b\na b\na b\na b\n' Got '' [toysh status] Expected 0 Got -6 stdout: stderr: munmap_chunk(): invalid pointer |
| sush | 5 \command readonly - similar issue [sush stdout] Expected 'a b\na b\na b\na b\n' Got 'a b\ndeclare -ar BASH_VERSINFO=([0]="1" [1]="2" [2]="2" [3]="rusty_bash" [4]="release" [5]="x86_64-unknown-linux")\ndeclare -ir UID="1000"\ndeclare -r b="a b"\n\ndeclare -ar BASH_VERSINFO=([0]="1" [1]="2" [2]="2" [3]="rusty_bash" [4]="release" [5]="x86_64-unknown-linux")\ndeclare -ir UID="1000"\ndeclare -r b="a b"\n\ndeclare -ar BASH_VERSINFO=([0]="1" [1]="2" [2]="2" [3]="rusty_bash" [4]="release" [5]="x86_64-unknown-linux")\ndeclare -ir UID="1000"\ndeclare -r b="a b"\n\n' stdout: a b declare -ar BASH_VERSINFO=([0]="1" [1]="2" [2]="2" [3]="rusty_bash" [4]="release" [5]="x86_64-unknown-linux") declare -ir UID="1000" declare -r b="a b" declare -ar BASH_VERSINFO=([0]="1" [1]="2" [2]="2" [3]="rusty_bash" [4]="release" [5]="x86_64-unknown-linux") declare -ir UID="1000" declare -r b="a b" declare -ar BASH_VERSINFO=([0]="1" [1]="2" [2]="2" [3]="rusty_bash" [4]="release" [5]="x86_64-unknown-linux") declare -ir UID="1000" declare -r b="a b"stderr: |
| brush | 5 \command readonly - similar issue [brush stdout] Expected 'a b\na b\na b\na b\n' Got 'a b\n\n\n\n' stdout: a bstderr: readonly: c=a: not a valid variable name readonly: d=a: not a valid variable name readonly: e=a: not a valid variable name |
| bash | 6 Dynamic $c readonly - bash and dash change behavior, mksh bug stdout: a astderr: |
| dash | 6 Dynamic $c readonly - bash and dash change behavior, mksh bug stdout: a astderr: |
| zsh | 6 Dynamic $c readonly - bash and dash change behavior, mksh bug stdout: stderr: |
| mksh | 6 Dynamic $c readonly - bash and dash change behavior, mksh bug stdout: astderr: mksh: <stdin>[10]: read-only: b |
| ksh | 6 Dynamic $c readonly - bash and dash change behavior, mksh bug [ksh stdout] Expected 'a b\na b\n' Got 'a\na\n' stdout: a astderr: |
| toysh | 6 Dynamic $c readonly - bash and dash change behavior, mksh bug [toysh stdout] Expected 'a b\na b\n' Got '' [toysh status] Expected 0 Got -6 stdout: stderr: munmap_chunk(): invalid pointer |
| sush | 6 Dynamic $c readonly - bash and dash change behavior, mksh bug [sush stdout] Expected 'a b\na b\n' Got 'declare -ar BASH_VERSINFO=([0]="1" [1]="2" [2]="2" [3]="rusty_bash" [4]="release" [5]="x86_64-unknown-linux")\ndeclare -ir UID="1000"\n\ndeclare -ar BASH_VERSINFO=([0]="1" [1]="2" [2]="2" [3]="rusty_bash" [4]="release" [5]="x86_64-unknown-linux")\ndeclare -ir UID="1000"\n\n' stdout: declare -ar BASH_VERSINFO=([0]="1" [1]="2" [2]="2" [3]="rusty_bash" [4]="release" [5]="x86_64-unknown-linux") declare -ir UID="1000" declare -ar BASH_VERSINFO=([0]="1" [1]="2" [2]="2" [3]="rusty_bash" [4]="release" [5]="x86_64-unknown-linux") declare -ir UID="1000"stderr: |
| brush | 6 Dynamic $c readonly - bash and dash change behavior, mksh bug [brush stdout] Expected 'a b\na b\n' Got '\n\n' stdout: stderr: readonly: c=a: not a valid variable name readonly: d=a: not a valid variable name |
| dash | 7 static builtin command ASSIGN, command builtin ASSIGN stdout: stderr: |
| ash | 7 static builtin command ASSIGN, command builtin ASSIGN stdout: stderr: |
| zsh | 7 static builtin command ASSIGN, command builtin ASSIGN stdout: stderr: |
| toysh | 7 static builtin command ASSIGN, command builtin ASSIGN [toysh stdout] Expected 'bc=export\nbc=readonly\n--\ncb=export\ncb=readonly\n' Got '' [toysh status] Expected 0 Got -6 stdout: stderr: munmap_chunk(): invalid pointer |
| sush | 7 static builtin command ASSIGN, command builtin ASSIGN [sush stdout] Expected 'bc=export\nbc=readonly\n--\ncb=export\ncb=readonly\n' Got 'bc=\ndeclare -ar BASH_VERSINFO=([0]="1" [1]="2" [2]="2" [3]="rusty_bash" [4]="release" [5]="x86_64-unknown-linux")\ndeclare -ir UID="1000"\nbc=\n--\ncb=\ncb=\n' stdout: bc= declare -ar BASH_VERSINFO=([0]="1" [1]="2" [2]="2" [3]="rusty_bash" [4]="release" [5]="x86_64-unknown-linux") declare -ir UID="1000" bc= -- cb= cb=stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 12: builtin: export: not a shell builtin /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 15: builtin: readonly: not a shell builtin |
| brush | 7 static builtin command ASSIGN, command builtin ASSIGN [brush stdout] Expected 'bc=export\nbc=readonly\n--\ncb=export\ncb=readonly\n' Got 'bc=\nbc=\n--\ncb=\ncb=\n' stdout: bc= bc= -- cb= cb=stderr: readonly: bc=readonly: not a valid variable name readonly: cb=readonly: not a valid variable name |
| dash | 8 dynamic builtin command ASSIGN, command builtin ASSIGN stdout: stderr: |
| ash | 8 dynamic builtin command ASSIGN, command builtin ASSIGN stdout: stderr: |
| zsh | 8 dynamic builtin command ASSIGN, command builtin ASSIGN stdout: stderr: |
| toysh | 8 dynamic builtin command ASSIGN, command builtin ASSIGN [toysh stdout] Expected 'bc=export\nbc=readonly\n--\ncb=export\ncb=readonly\n--\nbce=export\nbcr=readonly\n--\ncbe=export\ncbr=readonly\n' Got '' [toysh status] Expected 0 Got -6 stdout: stderr: munmap_chunk(): invalid pointer |
| sush | 8 dynamic builtin command ASSIGN, command builtin ASSIGN [sush stdout] Expected 'bc=export\nbc=readonly\n--\ncb=export\ncb=readonly\n--\nbce=export\nbcr=readonly\n--\ncbe=export\ncbr=readonly\n' Got 'bc=\ndeclare -ar BASH_VERSINFO=([0]="1" [1]="2" [2]="2" [3]="rusty_bash" [4]="release" [5]="x86_64-unknown-linux")\ndeclare -ir UID="1000"\nbc=\n--\ncb=\ncb=\n--\nbce=\ndeclare -ar BASH_VERSINFO=([0]="1" [1]="2" [2]="2" [3]="rusty_bash" [4]="release" [5]="x86_64-unknown-linux")\ndeclare -ir UID="1000"\nbcr=\n--\ncbe=\ncbr=\n' stdout: bc= declare -ar BASH_VERSINFO=([0]="1" [1]="2" [2]="2" [3]="rusty_bash" [4]="release" [5]="x86_64-unknown-linux") declare -ir UID="1000" bc= -- cb= cb= -- bce= declare -ar BASH_VERSINFO=([0]="1" [1]="2" [2]="2" [3]="rusty_bash" [4]="release" [5]="x86_64-unknown-linux") declare -ir UID="1000" bcr= -- cbe= cbr=stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 16: builtin: export: not a shell builtin /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 19: builtin: readonly: not a shell builtin /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 32: builtin: export: not a shell builtin /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 35: builtin: readonly: not a shell builtin |
| brush | 8 dynamic builtin command ASSIGN, command builtin ASSIGN [brush stdout] Expected 'bc=export\nbc=readonly\n--\ncb=export\ncb=readonly\n--\nbce=export\nbcr=readonly\n--\ncbe=export\ncbr=readonly\n' Got 'bc=\nbc=\n--\ncb=\ncb=\n--\nbce=\nbcr=\n--\ncbe=\ncbr=\n' stdout: bc= bc= -- cb= cb= -- bce= bcr= -- cbe= cbr=stderr: readonly: bc=readonly: not a valid variable name readonly: cb=readonly: not a valid variable name readonly: bcr=readonly: not a valid variable name readonly: cbr=readonly: not a valid variable name |
| dash | 9 builtin typeset, export,readonly stdout: stderr: |
| ash | 9 builtin typeset, export,readonly stdout: stderr: |
| toysh | 9 builtin typeset, export,readonly [toysh stdout] Expected 's=typeset\ns=export\ns=readonly\n--\ns2=typeset\ns2=export\ns2=readonly\n' Got '' [toysh status] Expected 0 Got -6 stdout: stderr: munmap_chunk(): invalid pointer |
| sush | 9 builtin typeset, export,readonly [sush stdout] Expected 's=typeset\ns=export\ns=readonly\n--\ns2=typeset\ns2=export\ns2=readonly\n' Got 's=\ns=\ns=\n--\ns2=\ns2=\ns2=\n' stdout: s= s= s= -- s2= s2= s2=stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: builtin: typeset: not a shell builtin /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 6: builtin: export: not a shell builtin /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 9: builtin: readonly: not a shell builtin /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 14: builtin: typeset: not a shell builtin /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 17: builtin: export: not a shell builtin /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 20: builtin: readonly: not a shell builtin |
| dash | 10 builtin declare,local stdout: stderr: |
| ash | 10 builtin declare,local stdout: stderr: |
| mksh | 10 builtin declare,local stdout: stderr: |
| ksh | 10 builtin declare,local [ksh stdout] Expected 's=declare\ns=local\n' Got '' [ksh status] Expected 0 Got 1 stdout: stderr: E: ksh: <stdin>[3]: builtin: declare: not found |
| toysh | 10 builtin declare,local [toysh stdout] Expected 's=declare\ns=local\n' Got '' [toysh status] Expected 0 Got -6 stdout: stderr: munmap_chunk(): invalid pointer |
| sush | 10 builtin declare,local [sush stdout] Expected 's=declare\ns=local\n' Got 's=\ns=\n' stdout: s= s=stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: builtin: declare: not a shell builtin /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 7: builtin: local: not a shell builtin |