status | bash | dash | ash | zsh | mksh | ksh | toysh | sush | brush | osh | |
pass | 1 | 1 | 1 | 3 | 2 | 2 | 3 | 3 | 3 | 3 | |
ok | 2 | 2 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | |
FAIL | 0 | 0 | 2 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | |
total | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | |
case | bash | dash | ash | zsh | mksh | ksh | toysh | sush | brush | osh | description |
0 | ok | ok | FAIL | pass | pass | pass | pass | pass | pass | pass | Empty do/done |
details | details | details | |||||||||
1 | pass | pass | pass | pass | pass | pass | pass | pass | pass | pass | Empty case/esac |
2 | ok | ok | FAIL | pass | ok | FAIL | pass | pass | pass | pass | Empty then/fi |
details | details | details | details | details |
22 passed, 5 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped
bash | 0 Empty do/done stdout: stderr: bash: line 2: syntax error near unexpected token `done' bash: line 2: `done' |
dash | 0 Empty do/done stdout: stderr: dash: 2: Syntax error: "done" unexpected |
ash | 0 Empty do/done [ash stdout] Expected 'empty\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: syntax error: unexpected "done" |
bash | 2 Empty then/fi stdout: stderr: bash: line 2: syntax error near unexpected token `fi' bash: line 2: `fi' |
dash | 2 Empty then/fi stdout: stderr: dash: 2: Syntax error: "fi" unexpected |
ash | 2 Empty then/fi [ash stdout] Expected 'empty\n', got '' [ash status] Expected 0, got 2 stdout: stderr: ash: syntax error: unexpected "fi" |
mksh | 2 Empty then/fi stdout: stderr: mksh: <stdin>[2]: syntax error: 'fi' unexpected |
ksh | 2 Empty then/fi [ksh stdout] Expected 'empty\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[2]: syntax error: unexpected 'fi' |