status | bash | mksh | osh | |
pass | 4 | 1 | 1 | |
BUG | 0 | 3 | 0 | |
FAIL | 0 | 0 | 3 | |
total | 4 | 4 | 4 | |
case | bash | mksh | osh | description |
0 | pass | pass | pass | K and V are variables in (( array[K] = V )) |
1 | pass | BUG | FAIL | test -v with strings |
details | details | |||
2 | pass | BUG | FAIL | test -v with arrays |
details | details | |||
3 | pass | BUG | FAIL | test -v with assoc arrays |
details | details |
6 passed, 0 OK, 0 not implemented, 3 BUG, 3 failed, 0 timeouts, 0 cases skipped 3 failed under osh
mksh | 1 test -v with strings stdout: str=2 str=2stderr: mksh: <stdin>[1]: test: str: unexpected operator/operand mksh: <stdin>[6]: test: str: unexpected operator/operand |
osh | 1 test -v with strings [osh stdout] Expected 'str=1\nstr=0\n', got 'str=0\nstr=0\n' stdout: str=0 str=0stderr: |
mksh | 2 test -v with arrays stdout: a=2 a[0]=2 a=2 a[0]=2 a[1]=2 a[x]=2stderr: mksh: <stdin>[3]: test: a: unexpected operator/operand mksh: <stdin>[5]: test: a[0]: unexpected operator/operand mksh: <stdin>[11]: test: a: unexpected operator/operand mksh: <stdin>[13]: test: a[0]: unexpected operator/operand mksh: <stdin>[17]: test: a[1]: unexpected operator/operand mksh: <stdin>[20]: test: a[x]: unexpected operator/operand |
osh | 2 test -v with arrays [osh stdout] Expected 'a=1\na[0]=1\n\na=0\na[0]=0\n\na[1]=1\na[x]=0\n\n', got 'a=0\na[0]=1\n\na=0\na[0]=0\n\na[1]=1\na[x]=1\n\n' stdout: a=0 a[0]=1 a=0 a[0]=0 a[1]=1 a[x]=1stderr: |
mksh | 3 test -v with assoc arrays stdout: A=2 A[0]=2 A=2 A[0]=2 A[1]=2 A[x]=2stderr: mksh: <stdin>[1]: typeset: -A: unknown option mksh: <stdin>[3]: test: A: unexpected operator/operand mksh: <stdin>[5]: test: A[0]: unexpected operator/operand mksh: <stdin>[11]: test: A: unexpected operator/operand mksh: <stdin>[13]: test: A[0]: unexpected operator/operand mksh: <stdin>[17]: test: A[1]: unexpected operator/operand mksh: <stdin>[20]: test: A[x]: unexpected operator/operand |
osh | 3 test -v with assoc arrays [osh stdout] Expected 'A=1\nA[0]=1\n\nA=0\nA[0]=0\n\nA[1]=1\nA[x]=1\n\n', got 'A=0\nA[0]=1\n\nA=0\nA[0]=0\n\nA[1]=1\nA[x]=1\n\n' stdout: A=0 A[0]=1 A=0 A[0]=0 A[1]=1 A[x]=1stderr: |