Results for for-expr.test.sh

statusbashzshosh
pass 667
ok 010
FAIL 100
total777
casebashzshoshdescription
0pass pass pass C-style for loop
1pass pass pass For loop with and without semicolon
2pass pass pass Accepts { } syntax too
3pass pass pass Empty init
4pass pass pass Empty init and cond
5pass pass pass Infinite loop with ((;;))
6FAIL ok pass Arith lexer mode
detailsdetails
19 passed, 1 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

bash6 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
4
stderr:
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'")
zsh6 Arith lexer mode

stdout:
stderr: 
zsh: bad math expression: operand expected at `'3''