spec test index / oilshell.org
status | bash | mksh | osh | osh_ALT | |
pass | 1 | 1 | 1 | 1 | |
N-I | 0 | 1 | 0 | 0 | |
BUG | 1 | 0 | 0 | 0 | |
FAIL | 0 | 0 | 1 | 1 | |
total | 2 | 2 | 2 | 2 | |
case | bash | mksh | osh | osh_ALT | description |
0 | pass | pass | pass | pass | K and V are variables in (( array[K] = V )) |
1 | BUG | N-I | FAIL | FAIL | when are variables set with 'test -v' |
details | details | details | details |
4 passed, 0 OK, 1 not implemented, 1 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
bash | 1 when are variables set with 'test -v' stdout: unset=1 a=1 A=1 a=0 A=1stderr: |
mksh | 1 when are variables set with 'test -v' stdout: unset=2 a=2 A=2 a=2 A=2stderr: mksh: <stdin>[1]: test: unset: unexpected operator/operand mksh: <stdin>[5]: test: a: unexpected operator/operand mksh: <stdin>[8]: typeset: -A: unknown option mksh: <stdin>[9]: test: A: unexpected operator/operand mksh: <stdin>[15]: test: a: unexpected operator/operand mksh: <stdin>[18]: test: A: unexpected operator/operand |
osh | 1 when are variables set with 'test -v' [osh stdout] Expected 'unset=1\na=1\nA=1\na=0\nA=0\n', got 'unset=1\na=0\nA=0\na=0\nA=0\n' stdout: unset=1 a=0 A=0 a=0 A=0stderr: |
osh_ALT | 1 when are variables set with 'test -v' [osh_ALT stdout] Expected 'unset=1\na=1\nA=1\na=0\nA=0\n', got 'unset=1\na=0\nA=0\na=0\nA=0\n' stdout: unset=1 a=0 A=0 a=0 A=0stderr: |