spec test index / oilshell.org
status | dash | bash | mksh | zsh | ash | osh | |
pass | 2 | 7 | 5 | 6 | 2 | 8 | |
ok | 5 | 0 | 3 | 2 | 5 | 0 | |
N-I | 1 | 0 | 0 | 0 | 1 | 0 | |
BUG | 0 | 1 | 0 | 0 | 0 | 0 | |
total | 8 | 8 | 8 | 8 | 8 | 8 | |
case | dash | bash | mksh | zsh | ash | osh | description |
0 | pass | pass | pass | pass | pass | pass | echo keyword |
1 | pass | pass | pass | pass | pass | pass | if/else |
2 | N-I | pass | pass | pass | N-I | pass | Turn an array into an integer. |
details | details | ||||||
3 | ok | pass | ok | pass | ok | pass | assign readonly -- one line |
details | details | details | |||||
4 | ok | BUG | ok | pass | ok | pass | assign readonly -- multiple lines |
details | details | details | details | ||||
5 | ok | pass | ok | pass | ok | pass | assign readonly -- multiple lines -- set -o posix |
details | details | details | |||||
6 | ok | pass | pass | ok | ok | pass | unset readonly -- one line |
details | details | details | |||||
7 | ok | pass | pass | ok | ok | pass | unset readonly -- multiple lines |
details | details | details |
30 passed, 15 OK, 2 not implemented, 1 BUG, 0 failed, 0 timeouts, 0 cases skipped
dash | 2 Turn an array into an integer. stdout: stderr: dash: 1: Syntax error: "(" unexpected |
ash | 2 Turn an array into an integer. stdout: stderr: ash: syntax error: unexpected "(" |
dash | 3 assign readonly -- one line stdout: stderr: dash: 1: x: is read only |
mksh | 3 assign readonly -- one line stdout: stderr: mksh: <stdin>[1]: read-only: x |
ash | 3 assign readonly -- one line stdout: stderr: ash: x: is read only |
dash | 4 assign readonly -- multiple lines stdout: stderr: dash: 2: x: is read only |
bash | 4 assign readonly -- multiple lines stdout: histderr: bash: line 2: x: readonly variable |
mksh | 4 assign readonly -- multiple lines stdout: stderr: mksh: <stdin>[2]: read-only: x |
ash | 4 assign readonly -- multiple lines stdout: stderr: ash: x: is read only |
dash | 5 assign readonly -- multiple lines -- set -o posix stdout: stderr: dash: 1: set: Illegal option -o posix |
mksh | 5 assign readonly -- multiple lines -- set -o posix stdout: stderr: mksh: <stdin>[3]: read-only: x |
ash | 5 assign readonly -- multiple lines -- set -o posix stdout: stderr: ash: set: line 1: illegal option -o posix ash: x: is read only |
dash | 6 unset readonly -- one line stdout: stderr: dash: 1: unset: x: is read only |
zsh | 6 unset readonly -- one line stdout: stderr: zsh: read-only variable: x |
ash | 6 unset readonly -- one line stdout: stderr: ash: unset: line 1: x: is read only |
dash | 7 unset readonly -- multiple lines stdout: stderr: dash: 2: unset: x: is read only |
zsh | 7 unset readonly -- multiple lines stdout: stderr: zsh: read-only variable: x |
ash | 7 unset readonly -- multiple lines stdout: stderr: ash: unset: line 2: x: is read only |