| status | bash | dash | ash | zsh | mksh | ksh | toysh | sush | brush | osh | |
| pass | 8 | 0 | 0 | 8 | 0 | 0 | 0 | 4 | 5 | 9 | |
| ok | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | |
| FAIL | 1 | 9 | 9 | 0 | 9 | 9 | 9 | 5 | 4 | 0 | |
| total | 9 | 9 | 9 | 9 | 9 | 9 | 9 | 9 | 9 | 9 | |
| case | bash | dash | ash | zsh | mksh | ksh | toysh | sush | brush | osh | description |
| 0 | pass | FAIL | FAIL | pass | FAIL | FAIL | FAIL | pass | pass | pass | C-style for loop |
| details | details | details | details | details | |||||||
| 1 | pass | FAIL | FAIL | pass | FAIL | FAIL | FAIL | FAIL | FAIL | pass | For loop with and without semicolon |
| details | details | details | details | details | details | details | |||||
| 2 | pass | FAIL | FAIL | pass | FAIL | FAIL | FAIL | FAIL | FAIL | pass | Accepts { } syntax too |
| details | details | details | details | details | details | details | |||||
| 3 | pass | FAIL | FAIL | pass | FAIL | FAIL | FAIL | pass | pass | pass | Empty init |
| details | details | details | details | details | |||||||
| 4 | pass | FAIL | FAIL | pass | FAIL | FAIL | FAIL | FAIL | FAIL | pass | Empty init and cond |
| details | details | details | details | details | details | details | |||||
| 5 | pass | FAIL | FAIL | pass | FAIL | FAIL | FAIL | FAIL | FAIL | pass | Infinite loop with ((;;)) |
| details | details | details | details | details | details | details | |||||
| 6 | FAIL | FAIL | FAIL | ok | FAIL | FAIL | FAIL | FAIL | pass | pass | Arith lexer mode |
| details | details | details | details | details | details | details | details | ||||
| 7 | pass | FAIL | FAIL | pass | FAIL | FAIL | FAIL | pass | pass | pass | Integers near 31, 32, 62 bits |
| details | details | details | details | details | |||||||
| 8 | pass | FAIL | FAIL | pass | FAIL | FAIL | FAIL | pass | pass | pass | Condition that's greater than 32 bits |
| details | details | details | details | details |
34 passed, 1 OK, 0 not implemented, 0 BUG, 55 failed, 0 timeouts, 0 cases skipped
| dash | 0 C-style for loop [dash stdout] Expected '1\n2\n4\n5\n' Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 2: Syntax error: Bad for loop variable |
| ash | 0 C-style for loop [ash stdout] Expected '1\n2\n4\n5\n' Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: syntax error: bad for loop variable |
| mksh | 0 C-style for loop [mksh stdout] Expected '1\n2\n4\n5\n' Got '' [mksh status] Expected 0 Got 1 stdout: stderr: mksh: <stdin>[2]: syntax error: '((' unexpected
|
| ksh | 0 C-style for loop [ksh stdout] Expected '1\n2\n4\n5\n' Got '' [ksh status] Expected 0 Got 1 stdout: stderr: E: ksh: <stdin>[2]: syntax error: unexpected '(('
|
| toysh | 0 C-style for loop [toysh stdout] Expected '1\n2\n4\n5\n' Got '' [toysh status] Expected 0 Got 2 stdout: stderr: main: line 2: sh: syntax error: ((a=1; a <= n ; a++)) |
| dash | 1 For loop with and without semicolon [dash stdout] Expected '1\n2\n3\n1\n2\n3\n' Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 1: Syntax error: Bad for loop variable |
| ash | 1 For loop with and without semicolon [ash stdout] Expected '1\n2\n3\n1\n2\n3\n' Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: syntax error: bad for loop variable |
| mksh | 1 For loop with and without semicolon [mksh stdout] Expected '1\n2\n3\n1\n2\n3\n' Got '' [mksh status] Expected 0 Got 1 stdout: stderr: mksh: <stdin>[1]: syntax error: '((' unexpected
|
| ksh | 1 For loop with and without semicolon [ksh stdout] Expected '1\n2\n3\n1\n2\n3\n' Got '' [ksh status] Expected 0 Got 1 stdout: stderr: E: ksh: <stdin>[1]: syntax error: unexpected '(('
|
| toysh | 1 For loop with and without semicolon [toysh stdout] Expected '1\n2\n3\n1\n2\n3\n' Got '' [toysh status] Expected 0 Got 2 stdout: stderr: main: line 1: sh: syntax error: ; |
| sush | 1 For loop with and without semicolon [sush stdout] Expected '1\n2\n3\n1\n2\n3\n' Got '1\n2\n3\n4\n' [sush status] Expected 0 Got 2 stdout: 1 2 3 4stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 5: syntax error near unexpected token: do /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 7: syntax error near unexpected token: done |
| brush | 1 For loop with and without semicolon [brush stdout] Expected '1\n2\n3\n1\n2\n3\n' Got '1\n2\n3\n4\n' [brush status] Expected 0 Got 2 stdout: 1 2 3 4stderr: [31merror:[39m main: syntax error near token `do' (line 1 col 26) [31merror:[39m main: syntax error near token ` ' (line 1 col 5) |
| dash | 2 Accepts { } syntax too [dash stdout] Expected '1\n2\n3\n' Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 1: Syntax error: Bad for loop variable |
| ash | 2 Accepts { } syntax too [ash stdout] Expected '1\n2\n3\n' Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: syntax error: bad for loop variable |
| mksh | 2 Accepts { } syntax too [mksh stdout] Expected '1\n2\n3\n' Got '' [mksh status] Expected 0 Got 1 stdout: stderr: mksh: <stdin>[1]: syntax error: '((' unexpected
|
| ksh | 2 Accepts { } syntax too [ksh stdout] Expected '1\n2\n3\n' Got '' [ksh status] Expected 0 Got 1 stdout: stderr: E: ksh: <stdin>[1]: syntax error: unexpected '(('
|
| toysh | 2 Accepts { } syntax too [toysh stdout] Expected '1\n2\n3\n' Got '' [toysh status] Expected 0 Got 2 stdout: stderr: main: line 1: sh: syntax error: {
|
| sush | 2 Accepts { } syntax too [sush stdout] Expected '1\n2\n3\n' Got '\n' [sush status] Expected 0 Got 2 stdout: stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: syntax error near unexpected token: {
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: syntax error near unexpected token: }
|
| brush | 2 Accepts { } syntax too [brush stdout] Expected '1\n2\n3\n' Got '\n' [brush status] Expected 0 Got 2 stdout: stderr: [31merror:[39m main: syntax error near token `{' (line 1 col 26)
[31merror:[39m main: syntax error near token `
' (line 1 col 2)
|
| dash | 3 Empty init [dash stdout] Expected '1\n2\n3\n' Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 2: Syntax error: Bad for loop variable |
| ash | 3 Empty init [ash stdout] Expected '1\n2\n3\n' Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: syntax error: bad for loop variable |
| mksh | 3 Empty init [mksh stdout] Expected '1\n2\n3\n' Got '' [mksh status] Expected 0 Got 1 stdout: stderr: mksh: <stdin>[2]: syntax error: '((' unexpected
|
| ksh | 3 Empty init [ksh stdout] Expected '1\n2\n3\n' Got '' [ksh status] Expected 0 Got 1 stdout: stderr: E: ksh: <stdin>[2]: syntax error: unexpected '(('
|
| toysh | 3 Empty init [toysh stdout] Expected '1\n2\n3\n' Got '' [toysh status] Expected 0 Got 2 stdout: stderr: main: line 2: sh: syntax error: ; |
| dash | 4 Empty init and cond [dash stdout] Expected '1\n2\n3\n' Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 2: Syntax error: Bad for loop variable |
| ash | 4 Empty init and cond [ash stdout] Expected '1\n2\n3\n' Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: syntax error: bad for loop variable |
| mksh | 4 Empty init and cond [mksh stdout] Expected '1\n2\n3\n' Got '' [mksh status] Expected 0 Got 1 stdout: stderr: mksh: <stdin>[2]: syntax error: '((' unexpected
|
| ksh | 4 Empty init and cond [ksh stdout] Expected '1\n2\n3\n' Got '' [ksh status] Expected 0 Got 1 stdout: stderr: E: ksh: <stdin>[2]: syntax error: unexpected '(('
|
| toysh | 4 Empty init and cond [toysh stdout] Expected '1\n2\n3\n' Got '' [toysh status] Expected 0 Got 2 stdout: stderr: main: line 2: sh: syntax error: ; |
| sush | 4 Empty init and cond [sush stdout] Expected '1\n2\n3\n' Got '' stdout: stderr: |
| brush | 4 Empty init and cond [brush stdout] Expected '1\n2\n3\n' Got '' stdout: stderr: |
| dash | 5 Infinite loop with ((;;)) [dash stdout] Expected '1\n2\n3\n' Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 2: Syntax error: Bad for loop variable |
| ash | 5 Infinite loop with ((;;)) [ash stdout] Expected '1\n2\n3\n' Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: syntax error: bad for loop variable |
| mksh | 5 Infinite loop with ((;;)) [mksh stdout] Expected '1\n2\n3\n' Got '' [mksh status] Expected 0 Got 1 stdout: stderr: mksh: <stdin>[2]: syntax error: '((' unexpected
|
| ksh | 5 Infinite loop with ((;;)) [ksh stdout] Expected '1\n2\n3\n' Got '' [ksh status] Expected 0 Got 1 stdout: stderr: E: ksh: <stdin>[2]: syntax error: unexpected '(('
|
| toysh | 5 Infinite loop with ((;;)) [toysh stdout] Expected '1\n2\n3\n' Got '' [toysh status] Expected 0 Got 2 stdout: stderr: main: line 2: sh: syntax error: ; |
| sush | 5 Infinite loop with ((;;)) [sush stdout] Expected '1\n2\n3\n' Got '' stdout: stderr: |
| brush | 5 Infinite loop with ((;;)) [brush stdout] Expected '1\n2\n3\n' Got '' stdout: stderr: |
| bash | 6 Arith lexer mode [bash stdout] Expected '3\n4\n3\n4\n3\n4\n3\n4\n' Got '3\n4\n3\n4\n' stdout: 3 4 3 4stderr: bash: line 1: ((: i = '3': syntax error: operand expected (error token is "'3'") bash: line 3: ((: i = '3': syntax error: operand expected (error token is "'3'") |
| dash | 6 Arith lexer mode [dash stdout] Expected '3\n4\n3\n4\n3\n4\n3\n4\n' Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 1: Syntax error: Bad for loop variable |
| ash | 6 Arith lexer mode [ash stdout] Expected '3\n4\n3\n4\n3\n4\n3\n4\n' Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: syntax error: bad for loop variable |
| zsh | 6 Arith lexer mode stdout: stderr: zsh: bad math expression: operand expected at `'3'' |
| mksh | 6 Arith lexer mode [mksh stdout] Expected '3\n4\n3\n4\n3\n4\n3\n4\n' Got '' [mksh status] Expected 0 Got 1 stdout: stderr: mksh: <stdin>[1]: syntax error: '((' unexpected
|
| ksh | 6 Arith lexer mode [ksh stdout] Expected '3\n4\n3\n4\n3\n4\n3\n4\n' Got '' [ksh status] Expected 0 Got 1 stdout: stderr: E: ksh: <stdin>[1]: syntax error: unexpected '(('
|
| toysh | 6 Arith lexer mode [toysh stdout] Expected '3\n4\n3\n4\n3\n4\n3\n4\n' Got '' [toysh status] Expected 0 Got 2 stdout: stderr: main: line 1: sh: syntax error: ; |
| sush | 6 Arith lexer mode [sush stdout] Expected '3\n4\n3\n4\n3\n4\n3\n4\n' Got '3\n4\n3\n4\n' stdout: 3 4 3 4stderr: |
| dash | 7 Integers near 31, 32, 62 bits [dash stdout] Expected '2147483646\n2147483647\n2147483648\n2147483649\n---\n4294967294\n4294967295\n4294967296\n4294967297\n---\n4611686018427387902\n4611686018427387903\n4611686018427387904\n4611686018427387905\n---\n' Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 6: Syntax error: Bad for loop variable |
| ash | 7 Integers near 31, 32, 62 bits [ash stdout] Expected '2147483646\n2147483647\n2147483648\n2147483649\n---\n4294967294\n4294967295\n4294967296\n4294967297\n---\n4611686018427387902\n4611686018427387903\n4611686018427387904\n4611686018427387905\n---\n' Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: syntax error: bad for loop variable |
| mksh | 7 Integers near 31, 32, 62 bits [mksh stdout] Expected '2147483646\n2147483647\n2147483648\n2147483649\n---\n4294967294\n4294967295\n4294967296\n4294967297\n---\n4611686018427387902\n4611686018427387903\n4611686018427387904\n4611686018427387905\n---\n' Got '' [mksh status] Expected 0 Got 1 stdout: stderr: mksh: <stdin>[6]: syntax error: '((' unexpected
|
| ksh | 7 Integers near 31, 32, 62 bits [ksh stdout] Expected '2147483646\n2147483647\n2147483648\n2147483649\n---\n4294967294\n4294967295\n4294967296\n4294967297\n---\n4611686018427387902\n4611686018427387903\n4611686018427387904\n4611686018427387905\n---\n' Got '' [ksh status] Expected 0 Got 1 stdout: stderr: E: ksh: <stdin>[6]: syntax error: unexpected '(('
|
| toysh | 7 Integers near 31, 32, 62 bits [toysh stdout] Expected '2147483646\n2147483647\n2147483648\n2147483649\n---\n4294967294\n4294967295\n4294967296\n4294967297\n---\n4611686018427387902\n4611686018427387903\n4611686018427387904\n4611686018427387905\n---\n' Got '' [toysh status] Expected 0 Got 2 stdout: stderr: main: line 1: sh: syntax error: ; |
| dash | 8 Condition that's greater than 32 bits [dash stdout] Expected '4294967296\n4294967297\n4294967298\n4294967299\n4294967300\n' Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 3: Syntax error: Bad for loop variable |
| ash | 8 Condition that's greater than 32 bits [ash stdout] Expected '4294967296\n4294967297\n4294967298\n4294967299\n4294967300\n' Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: syntax error: bad for loop variable |
| mksh | 8 Condition that's greater than 32 bits [mksh stdout] Expected '4294967296\n4294967297\n4294967298\n4294967299\n4294967300\n' Got '' [mksh status] Expected 0 Got 1 stdout: stderr: mksh: <stdin>[3]: syntax error: '((' unexpected
|
| ksh | 8 Condition that's greater than 32 bits [ksh stdout] Expected '4294967296\n4294967297\n4294967298\n4294967299\n4294967300\n' Got '' [ksh status] Expected 0 Got 1 stdout: stderr: E: ksh: <stdin>[3]: syntax error: unexpected '(('
|
| toysh | 8 Condition that's greater than 32 bits [toysh stdout] Expected '4294967296\n4294967297\n4294967298\n4294967299\n4294967300\n' Got '' [toysh status] Expected 0 Got 2 stdout: stderr: main: line 3: sh: syntax error: ; |