106 passed, 20 OK, 0 not implemented, 4 BUG, 56 failed, 3 timeouts, 0 cases skipped 3 failed under osh
bash | 1 Token that's too long for Oils - 65536 bytes stdout: status=0 65536 outstderr: |
mksh | 1 Token that's too long for Oils - 65536 bytes stdout: status=0 65536 outstderr: |
ksh | 1 Token that's too long for Oils - 65536 bytes [ksh stdout] Expected 'status=2\n0 out\n', got 'status=0\n65536 out\n' stdout: status=0 65536 outstderr: |
toysh | 1 Token that's too long for Oils - 65536 bytes [toysh stdout] Expected 'status=2\n0 out\n', got 'status=0\n65536 out\n' stdout: status=0 65536 outstderr: |
sush | 1 Token that's too long for Oils - 65536 bytes [sush stdout] Expected 'status=2\n0 out\n', got 'status=0\n65536 out\n' stdout: status=0 65536 outstderr: |
brush | 1 Token that's too long for Oils - 65536 bytes [brush stdout] Expected 'status=2\n0 out\n', got 'status=0\n65536 out\n' stdout: status=0 65536 outstderr: |
bash | 3 Bad braced var sub -- not allowed stdout: stderr: bash: line 1: ${%}: bad substitution |
mksh | 3 Bad braced var sub -- not allowed stdout: stderr: mksh: <stdin>[1]: ${%}: bad substitution |
ksh | 3 Bad braced var sub -- not allowed [ksh status] Expected 2, got 1 stdout: stderr: E: ksh: <stdin>[1]: ${%}: bad substitution |
toysh | 3 Bad braced var sub -- not allowed [toysh status] Expected 2, got 1 stdout: stderr: main: line 1: sh: : bad substitution |
sush | 3 Bad braced var sub -- not allowed [sush status] Expected 2, got 1 stdout: stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 1: `${%}': bad substitution |
brush | 3 Bad braced var sub -- not allowed [brush status] Expected 2, got 0 stdout: ${%}stderr: |
bash | 4 Bad var sub caught at parse time stdout: okstderr: |
mksh | 4 Bad var sub caught at parse time stdout: okstderr: |
ksh | 4 Bad var sub caught at parse time [ksh status] Expected 2, got 0 stdout: okstderr: |
toysh | 4 Bad var sub caught at parse time [toysh status] Expected 2, got 0 stdout: okstderr: |
sush | 4 Bad var sub caught at parse time [sush status] Expected 2, got 0 stdout: okstderr: |
brush | 4 Bad var sub caught at parse time [brush status] Expected 2, got 0 stdout: okstderr: |
mksh | 5 Incomplete while stdout: stderr: mksh: <stdin>[1]: syntax error: 'while' unmatched |
ksh | 5 Incomplete while [ksh status] Expected 2, got 1 stdout: stderr: E: ksh: <stdin>[1]: syntax error: unmatched 'while' |
mksh | 6 Incomplete for stdout: stderr: mksh: <stdin>[1]: syntax error: 'newline' unexpected |
ksh | 6 Incomplete for [ksh status] Expected 2, got 1 stdout: stderr: E: ksh: <stdin>[1]: syntax error: unexpected 'newline' |
sush | 6 Incomplete for [sush stdout] Expected u'', got 'hi\nstatus=0\n' [sush status] Expected 2, got 0 stdout: hi status=0stderr: |
brush | 6 Incomplete for [brush stdout] Expected u'', got 'status=2\n' [brush status] Expected 2, got 0 stdout: status=2stderr: [31mERROR[0m main: syntax error near token ` ' (line 1 col 13) |
mksh | 7 Incomplete if stdout: stderr: mksh: <stdin>[1]: syntax error: 'if' unmatched |
ksh | 7 Incomplete if [ksh status] Expected 2, got 1 stdout: stderr: E: ksh: <stdin>[1]: syntax error: unmatched 'if' |
mksh | 8 do unexpected stdout: stderr: mksh: <stdin>[1]: syntax error: 'do' unexpected |
ksh | 8 do unexpected [ksh status] Expected 2, got 1 stdout: stderr: E: ksh: <stdin>[1]: syntax error: unexpected 'do' |
mksh | 9 } is a parse error stdout: stderr: mksh: <stdin>[1]: syntax error: '}' unexpected |
ksh | 9 } is a parse error [ksh status] Expected 2, got 1 stdout: stderr: E: ksh: <stdin>[1]: syntax error: unexpected '}' |
sush | 9 } is a parse error [sush stdout] Expected u'', got 'should not get here\n' [sush status] Expected 2, got 0 stdout: should not get herestderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: Unexpected token: } |
brush | 9 } is a parse error [brush stdout] Expected u'', got 'should not get here\n' [brush status] Expected 2, got 0 stdout: should not get herestderr: [31mERROR[0m main: syntax error near token ` ' (line 1 col 2) |
mksh | 10 { is its own word, needs a space stdout: stderr: mksh: <stdin>[1]: syntax error: '}' unexpected |
ksh | 10 { is its own word, needs a space [ksh status] Expected 2, got 1 stdout: stderr: E: ksh: <stdin>[1]: syntax error: unexpected '}' |
sush | 10 { is its own word, needs a space [sush stdout] Expected u'', got 'status=2\n' [sush status] Expected 2, got 0 stdout: status=2stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: Unexpected token: } |
brush | 10 { is its own word, needs a space [brush stdout] Expected u'', got 'status=2\n' [brush status] Expected 2, got 0 stdout: status=2stderr: [31mERROR[0m main: syntax error near token ` ' (line 1 col 7) |
toysh | 11 } on the second line [toysh status] Expected 127, got 2 stdout: stderr: set: bad -o errexit sh: {ls: No such file or directory main: line 3: sh: syntax error: } |
sush | 11 } on the second line [sush status] Expected 127, got 2 stdout: stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 1: set: errexit: invalid option name /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: {ls: command not found /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: Unexpected token: } |
brush | 11 } on the second line [brush status] Expected 127, got 2 stdout: stderr: {ls: command not found [31mERROR[0m main: syntax error near token ` ' (line 1 col 2) |
bash | 12 Invalid for loop variable name stdout: donestderr: bash: line 3: `i.j': not a valid identifier |
mksh | 12 Invalid for loop variable name stdout: stderr: mksh: <stdin>[1]: for: bad identifier |
ksh | 12 Invalid for loop variable name [ksh status] Expected 2, got 1 stdout: stderr: E: ksh: <stdin>[1]: for: bad identifier |
sush | 12 Invalid for loop variable name [sush stdout] Expected u'', got 'hi\ndone\n' [sush status] Expected 2, got 0 stdout: hi donestderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: Unexpected token: .j /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: Unexpected token: done |
brush | 12 Invalid for loop variable name [brush stdout] Expected u'', got 'hi\nhi\nhi\ndone\n' [brush status] Expected 2, got 0 stdout: hi hi hi donestderr: |
sush | 14 bad var name in export [sush status] Expected 1, got 0 stdout: stderr: |
brush | 14 bad var name in export [brush status] Expected 1, got 0 stdout: stderr: |
sush | 15 bad var name in local [sush status] Expected 1, got 0 stdout: stderr: |
brush | 15 bad var name in local [brush status] Expected 1, got 0 stdout: stderr: |
mksh | 16 misplaced parentheses are not a subshell stdout: stderr: mksh: <stdin>[1]: syntax error: '(' unexpected |
ksh | 16 misplaced parentheses are not a subshell [ksh status] Expected 2, got 1 stdout: stderr: E: ksh: <stdin>[1]: syntax error: unexpected '(' |
mksh | 17 incomplete command sub stdout: stderr: mksh: <stdin>[1]: syntax error: '(' unmatched |
ksh | 17 incomplete command sub [ksh status] Expected 2, got 1 stdout: stderr: E: ksh: <stdin>[1]: syntax error: unmatched '(' |
mksh | 18 incomplete backticks stdout: stderr: mksh: <stdin>[2]: no closing quote |
ksh | 18 incomplete backticks [ksh status] Expected 2, got 1 stdout: stderr: E: ksh: <stdin>[2]: no closing quote |
mksh | 19 misplaced ;; stdout: stderr: mksh: <stdin>[1]: syntax error: ';;' unexpected |
ksh | 19 misplaced ;; [ksh status] Expected 2, got 1 stdout: stderr: E: ksh: <stdin>[1]: syntax error: unexpected ';;' |
mksh | 20 empty clause in [[ stdout: stderr: mksh: <stdin>[1]: syntax error: '||' expression expected |
ksh | 20 empty clause in [[ [ksh status] Expected 2, got 1 stdout: stderr: E: ksh: <stdin>[1]: syntax error: expression expected '||' |
toysh | 20 empty clause in [[ [toysh status] Expected 2, got -11 stdout: stderr: |
brush | 20 empty clause in [[ [brush status] Expected 2, got 0 stdout: stderr: [31mERROR[0m main: syntax error near token `||' (line 1 col 4) |
toysh | 21 interactive parse error (regression) [toysh status] Expected 2, got -6 stdout: stderr: munmap_chunk(): invalid pointer |
brush | 21 interactive parse error (regression) [brush status] Expected 2, got 0 stdout: stderr: [31mERROR[0m main: syntax error near token `)' (line 1 col 5) |
bash | 22 array literal inside array is a parse error stdout: len=0stderr: bash: line 1: syntax error near unexpected token `(' bash: line 1: `a=( inside=() )' |
mksh | 22 array literal inside array is a parse error stdout: stderr: mksh: <stdin>[1]: syntax error: '(' unexpected |
ksh | 22 array literal inside array is a parse error [ksh status] Expected 2, got 1 stdout: stderr: E: ksh: <stdin>[1]: syntax error: unexpected '(' |
sush | 22 array literal inside array is a parse error [sush stdout] Expected u'', got 'len=0\n' [sush status] Expected 2, got 0 stdout: len=0stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: Unexpected token: ) |
brush | 22 array literal inside array is a parse error [brush stdout] Expected u'', got 'len=0\n' [brush status] Expected 2, got 0 stdout: len=0stderr: [31mERROR[0m main: syntax error near token `(' (line 1 col 12) |
osh | 22 array literal inside array is a parse error [osh status] Expected 2, got 1 stdout: stderr: a=( inside=() ) ^ [ stdin ]:1: fatal: Unexpected associative array literal |
mksh | 23 array literal inside loop is a parse error stdout: stderr: mksh: <stdin>[2]: syntax error: '(' unexpected |
ksh | 23 array literal inside loop is a parse error [ksh status] Expected 2, got 1 stdout: stderr: E: ksh: <stdin>[2]: syntax error: unexpected '(' |
sush | 23 array literal inside loop is a parse error [sush stdout] Expected u'', got 'x=\ndone\n' [sush status] Expected 2, got 127 stdout: x= donestderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: Unexpected token: (); /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 6: Unexpected token: done /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 8: Unexpected token: } /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 8: f: command not found |
brush | 23 array literal inside loop is a parse error [brush stdout] Expected u'', got 'x=\ndone\n' [brush status] Expected 2, got 127 stdout: x= donestderr: [31mERROR[0m main: syntax error near token `(' (line 2 col 14) [31mERROR[0m main: syntax error near token ` ' (line 1 col 7) [31mERROR[0m main: syntax error near token ` ' (line 1 col 2) f: command not found |
osh | 23 array literal inside loop is a parse error [osh status] Expected 2, got 1 stdout: stderr: for x in a=(); do ^ [ stdin ]:2: fatal: Unexpected associative array literal |
mksh | 24 array literal in case stdout: stderr: mksh: <stdin>[2]: syntax error: '(' unexpected |
ksh | 24 array literal in case [ksh status] Expected 2, got 1 stdout: stderr: E: ksh: <stdin>[2]: syntax error: unexpected '(' |
sush | 24 array literal in case [sush stdout] Expected u'', got 'hi\n' [sush status] Expected 2, got 127 stdout: histderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: Unexpected token: () /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 5: Unexpected token: ) /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 7: Unexpected token: ;; /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 8: Unexpected token: esac /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 9: Unexpected token: } /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 9: f: command not found |
brush | 24 array literal in case [brush stdout] Expected u'', got 'hi\n' [brush status] Expected 2, got 127 stdout: histderr: [31mERROR[0m main: syntax error near token `(' (line 2 col 10) [31mERROR[0m main: syntax error near token `)' (line 1 col 8) [31mERROR[0m main: syntax error near token `;;' (line 1 col 7) [31mERROR[0m main: syntax error near token ` ' (line 1 col 7) [31mERROR[0m main: syntax error near token ` ' (line 1 col 2) f: command not found |
osh | 24 array literal in case [osh status] Expected 2, got 1 stdout: stderr: case a=() in ^ [ stdin ]:2: fatal: Unexpected associative array literal |
mksh | 25 %foo=() is parse error (regression) stdout: stderr: mksh: <stdin>[2]: %foo=: invalid function name |
ksh | 25 %foo=() is parse error (regression) [ksh status] Expected 2, got 1 stdout: stderr: E: ksh: <stdin>[2]: %foo=: invalid function name |