58 passed, 0 OK, 0 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
osh-cpp | 3 comparison to ${!array[@]} keys (similar SYNTAX) [osh-cpp stdout] Expected "['0', '1']\na_keys=0\n['']\na_nobrackets=0\n---\n['A', 'B']\nA_keys=0\nA_nobrackets=1\n" Got "['0', '1']\na_keys=0\n['']\na_nobrackets=0\n---\n" [osh-cpp status] Expected 0, got -6 stdout: ['0', '1'] a_keys=0 [''] a_nobrackets=0 ---stderr: terminate called after throwing an instance of 'IndexError*' timeout: the monitored command dumped core |
osh-cpp | 12 Indirect expansion, THEN suffix operators [osh-cpp stdout] Expected 'ok\n', got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'IndexError*' timeout: the monitored command dumped core |
osh-cpp | 19 var ref TO array with arbitrary subscripts [osh-cpp stdout] Expected 'works: a[1]\nworks: a[$b]\nworks: a[${c:-1}]\nworks: a[$(echo 1)]\nworks: a[$(( 3 - 2 ))]\n' Got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: shopt -s eval_unsafe_arith compat_array ^~~~~ [ stdin ]:1: 'shopt' got invalid option 'compat_array' terminate called after throwing an instance of 'IndexError*' timeout: the monitored command dumped core |
osh-cpp | 21 Indirect expansion TO fancy expansion features bash disallows [osh-cpp stdout] Expected 'done\n', got '' [osh-cpp status] Expected 0, got -6 stdout: stderr: a[0 ^ [ contents of var '1' at line 2 of [ stdin ] ]:1: Unexpected token after arithmetic expression (Id.Eof_Real != Id.Arith_RBracket) result="${!1}" ^ [ stdin ]:2: Invalid var ref expression terminate called after throwing an instance of 'IndexError*' timeout: the monitored command dumped core |