56 passed, 4 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh | 22 Bad var ref stdout: stderr: bad var name ^ [ contents of var 'a' at line 2 of [ stdin ] ]:1: Expected end of var ref expression echo ref ${!a} ^ [ stdin ]:2: fatal: Invalid var ref expression |
osh-cpp | 22 Bad var ref stdout: stderr: bad var name ^ [ contents of var 'a' at line 2 of [ stdin ] ]:1: Expected end of var ref expression echo ref ${!a} ^ [ stdin ]:2: fatal: Invalid var ref expression |
osh | 23 Bad var ref 2 stdout: stderr: / ^ [ contents of var 'b' at line 2 of [ stdin ] ]:1: Expected var name echo ref ${!b} ^ [ stdin ]:2: fatal: Invalid var ref expression |
osh-cpp | 23 Bad var ref 2 stdout: stderr: / ^ [ contents of var 'b' at line 2 of [ stdin ] ]:1: Expected var name echo ref ${!b} ^ [ stdin ]:2: fatal: Invalid var ref expression |
osh | 30 Array indirect expansion with @? conversion [osh stdout] Expected '==== v1 ====\n[\'value\']\n[\'value\']\n[\'\']\n==== v2 ====\n["\'\'"]\n[\'\']\n[\'\']\n==== a1 ====\n[\'\']\n[\'\']\n[\'a\']\n==== a2[0] ====\n[\'element\']\n[\'element\']\n[\'a\']\n==== a3[@] ====\n[\'1\', \'2\', \'3\']\n[\'1\', \'2\', \'3\']\n[\'a\', \'a\', \'a\']\n' Got '==== v1 ====\n[\'value\']\n[\'value\']\n[\'\']\n==== v2 ====\n["\'\'"]\n[\'\']\n[\'\']\n==== a1 ====\n[\'\']\n[\'\']\n[\'a\']\n==== a2[0] ====\n[\'element\']\n[\'element\']\n[\'\']\n==== a3[@] ====\n[\'1 2 3\']\n' [osh status] Expected 0, got 1 stdout: ==== v1 ==== ['value'] ['value'] [''] ==== v2 ==== ["''"] [''] [''] ==== a1 ==== [''] [''] ['a'] ==== a2[0] ==== ['element'] ['element'] [''] ==== a3[@] ==== ['1 2 3']stderr: argv.py "${!ref[@]@P}" ^~ [ stdin ]:6: fatal: Can't use @P on BashArray |
osh-cpp | 30 Array indirect expansion with @? conversion [osh-cpp stdout] Expected '==== v1 ====\n[\'value\']\n[\'value\']\n[\'\']\n==== v2 ====\n["\'\'"]\n[\'\']\n[\'\']\n==== a1 ====\n[\'\']\n[\'\']\n[\'a\']\n==== a2[0] ====\n[\'element\']\n[\'element\']\n[\'a\']\n==== a3[@] ====\n[\'1\', \'2\', \'3\']\n[\'1\', \'2\', \'3\']\n[\'a\', \'a\', \'a\']\n' Got '==== v1 ====\n[\'value\']\n[\'value\']\n[\'\']\n==== v2 ====\n["\'\'"]\n[\'\']\n[\'\']\n==== a1 ====\n[\'\']\n[\'\']\n[\'a\']\n==== a2[0] ====\n[\'element\']\n[\'element\']\n[\'\']\n==== a3[@] ====\n[\'1 2 3\']\n' [osh-cpp status] Expected 0, got 1 stdout: ==== v1 ==== ['value'] ['value'] [''] ==== v2 ==== ["''"] [''] [''] ==== a1 ==== [''] [''] ['a'] ==== a2[0] ==== ['element'] ['element'] [''] ==== a3[@] ==== ['1 2 3']stderr: argv.py "${!ref[@]@P}" ^~ [ stdin ]:6: fatal: Can't use @P on BashArray |