spec test index / oilshell.org
status | bash | dash | mksh | zsh | osh | |
pass | 4 | 0 | 1 | 1 | 1 | |
N-I | 0 | 4 | 2 | 3 | 0 | |
BUG | 0 | 0 | 1 | 0 | 0 | |
FAIL | 0 | 0 | 0 | 0 | 3 | |
total | 4 | 4 | 4 | 4 | 4 | |
case | bash | dash | mksh | zsh | osh | description |
0 | pass | N-I | N-I | N-I | FAIL | Double quotes |
details | details | details | details | |||
1 | pass | N-I | BUG | N-I | FAIL | Single quotes |
details | details | details | details | |||
2 | pass | N-I | N-I | N-I | FAIL | Substitutions |
details | details | details | details | |||
3 | pass | N-I | pass | pass | pass | Variable references |
details |
7 passed, 0 OK, 9 not implemented, 1 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
dash | 0 Double quotes stdout: stderr: dash: 1: arithmetic expression: expecting primary: " "1 + 2" * 3 " |
mksh | 0 Double quotes stdout: stderr: mksh: <stdin>[1]: "1 + 2" * 3 : unexpected '"' |
zsh | 0 Double quotes stdout: stderr: zsh: bad math expression: illegal character: " |
osh | 0 Double quotes [osh stdout] Expected '7\n7\n', got '9\n9\n' stdout: 9 9stderr: |
dash | 1 Single quotes stdout: stderr: dash: 1: arithmetic expression: expecting primary: " '1' + '2' * 3 " |
mksh | 1 Single quotes stdout: 199 status=0stderr: mksh: <stdin>[4]: '1 + 2' * 3 : multi-character character constant |
zsh | 1 Single quotes stdout: stderr: zsh: bad math expression: illegal character: ' |
osh | 1 Single quotes [osh stdout] Expected 'status=1\nstatus=1\n', got '7\nstatus=0\n9\nstatus=0\n' stdout: 7 status=0 9 status=0stderr: |
dash | 2 Substitutions stdout: 7stderr: dash: 3: arithmetic expression: expecting primary: " "1 + 2" * 3 " |
mksh | 2 Substitutions stdout: 7stderr: mksh: <stdin>[3]: "1 + 2" * 3 : unexpected '"' |
zsh | 2 Substitutions stdout: 7stderr: zsh: bad math expression: illegal character: " |
osh | 2 Substitutions [osh stdout] Expected '7\n7\n', got '9\n9\n' stdout: 9 9stderr: |
dash | 3 Variable references stdout: 7 status=0stderr: dash: 6: Illegal number: 1 + 2 |