spec test index / oilshell.org
status | bash | zsh | osh | |
pass | 6 | 6 | 7 | |
ok | 0 | 1 | 0 | |
FAIL | 1 | 0 | 0 | |
total | 7 | 7 | 7 | |
case | bash | zsh | osh | description |
0 | pass | pass | pass | C-style for loop |
1 | pass | pass | pass | For loop with and without semicolon |
2 | pass | pass | pass | Accepts { } syntax too |
3 | pass | pass | pass | Empty init |
4 | pass | pass | pass | Empty init and cond |
5 | pass | pass | pass | Infinite loop with ((;;)) |
6 | FAIL | ok | pass | Arith lexer mode |
details | details |
19 passed, 1 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
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'") |
zsh | 6 Arith lexer mode stdout: stderr: zsh: bad math expression: operand expected at `'3'' |