| status | bash | dash | ash | zsh | mksh | ksh | toysh | sush | brush | osh | |
| pass | 2 | 0 | 1 | 0 | 1 | 1 | 0 | 2 | 1 | 0 | |
| ok | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | |
| N-I | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | |
| FAIL | 0 | 2 | 1 | 0 | 0 | 1 | 2 | 0 | 1 | 2 | |
| total | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | |
| case | bash | dash | ash | zsh | mksh | ksh | toysh | sush | brush | osh | description |
| 0 | pass | FAIL | pass | ok | pass | pass | FAIL | pass | pass | FAIL | let |
| details | details | details | details | ||||||||
| 1 | pass | FAIL | FAIL | N-I | N-I | FAIL | FAIL | pass | FAIL | FAIL | let with () |
| details | details | details | details | details | details | details | details |
8 passed, 1 OK, 2 not implemented, 0 BUG, 9 failed, 0 timeouts, 0 cases skipped 2 failed under osh
| dash | 0 let [dash stdout] Expected '1 3 9 9\n' Got '\n' stdout: stderr: dash: 1: let: not found dash: 2: let: not found dash: 3: let: not found dash: 4: let: not found |
| zsh | 0 let stdout: stderr: zsh: no matches found: z=y*3 |
| 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) |
| dash | 1 let with () [dash stdout] Expected '1 3 9\n' Got '' [dash status] Expected 0 Got 2 stdout: stderr: dash: 1: Syntax error: "(" unexpected
|
| ash | 1 let with () [ash stdout] Expected '1 3 9\n' Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: syntax error: unexpected "("
|
| zsh | 1 let with () stdout: stderr: zsh: unknown file attribute: |
| 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:[39m let: failed to parse arithmetic expression [31merror:[39m let: 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
|