spec test index / oilshell.org
| status | bash | mksh | osh | |
| pass | 1 | 1 | 1 | |
| N-I | 0 | 1 | 0 | |
| BUG | 1 | 0 | 0 | |
| FAIL | 0 | 0 | 1 | |
| total | 2 | 2 | 2 | |
| case | bash | mksh | osh | description |
| 0 | pass | pass | pass | K and V are variables in (( array[K] = V )) |
| 1 | BUG | N-I | FAIL | when are variables set with 'test -v' |
| details | details | details |
3 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: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: test: unset: unexpected operator/operand /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[4]: test: a: unexpected operator/operand /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[6]: typeset: -A: unknown option /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[7]: test: A: unexpected operator/operand /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[11]: test: a: unexpected operator/operand /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[13]: 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 '' [osh status] Expected 0, got 1 stdout: stderr: test -v unset ^~~~ [ stdin ]:1: fatal: <Id_t BoolUnary_v 268> isn't implemented |