status | bash | mksh | ksh | toysh | sush | brush | osh | |
pass | 2 | 1 | 1 | 0 | 2 | 1 | 0 | |
N-I | 0 | 1 | 0 | 0 | 0 | 0 | 0 | |
FAIL | 0 | 0 | 1 | 2 | 0 | 1 | 2 | |
total | 2 | 2 | 2 | 2 | 2 | 2 | 2 | |
case | bash | mksh | ksh | toysh | sush | brush | osh | description |
0 | pass | pass | pass | FAIL | pass | pass | FAIL | let |
details | details | |||||||
1 | pass | N-I | FAIL | FAIL | pass | FAIL | FAIL | let with () |
details | details | details | details | details |
7 passed, 0 OK, 1 not implemented, 0 BUG, 6 failed, 0 timeouts, 0 cases skipped 2 failed under osh
toysh | 0 let [toysh stdout] Expected '1 3 9 9\n', got '\n' stdout: stderr: sh: let: No such file or directory sh: let: No such file or directory sh: let: No such file or directory sh: let: No such file or directory |
osh | 0 let [osh stdout] Expected '1 3 9 9\n', got '\n' stdout: stderr: let x=1 ^~~ [ stdin ]:1: Command 'let' not found (OILS-ERR-100) let y=x+2 ^~~ [ stdin ]:2: Command 'let' not found (OILS-ERR-100) let z=y*3 # zsh treats this as a glob; bash doesn't ^~~ [ stdin ]:3: Command 'let' not found (OILS-ERR-100) let z2='y*3' # both are OK with this ^~~ [ stdin ]:4: Command 'let' not found (OILS-ERR-100) |
mksh | 1 let with () stdout: stderr: mksh: <stdin>[1]: syntax error: '(' unexpected |
ksh | 1 let with () [ksh stdout] Expected '1 3 9\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[1]: syntax error: unexpected '(' |
toysh | 1 let with () [toysh stdout] Expected '1 3 9\n', got '' [toysh status] Expected 0, got 2 stdout: stderr: main: line 1: sh: syntax error: ) |
brush | 1 let with () [brush stdout] Expected '1 3 9\n', got '1\n' stdout: 1stderr: [31mERROR[0m failed to parse arithmetic expression [31mERROR[0m failed to parse arithmetic expression |
osh | 1 let with () [osh stdout] Expected '1 3 9\n', got '' [osh status] Expected 0, got 1 stdout: stderr: let x=( 1 ) ^ [ stdin ]:1: fatal: Unexpected associative array literal |