spec test index / oilshell.org
69 passed, 6 OK, 0 not implemented, 0 BUG, 3 failed, 0 timeouts, 0 cases skipped
osh_.cc | 3 comparison to ${!array[@]} keys (similar SYNTAX) [osh_.cc stdout] Expected "['0', '1']\na_keys=0\n['']\na_nobrackets=0\n---\n['A', 'B']\nA_keys=0\n['']\nA_nobrackets=0\n", got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: mycpp/mylib.h:305: int Str::find(Str*, int): Assertion `0' failed. |
osh_.cc | 12 Indirect expansion, THEN suffix operators [osh_.cc stdout] Expected 'ok\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.cc | 19 var ref TO array with arbitrary subscripts [osh_.cc stdout] Expected 'works: a[1]\nworks: a[$b]\nworks: a[${c:-1}]\nworks: a[$(echo 1)]\nworks: a[$(( 3 - 2 ))]\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh | 22 Bad var ref stdout: stderr: bad var name ^ [ var 'a' at line 2 of [ stdin ] ]:1: Expected end of var ref echo ref ${!a} ^ [ stdin ]:2: fatal: Invalid var ref |
osh_.py | 22 Bad var ref stdout: stderr: bad var name ^ [ var 'a' at line 2 of [ stdin ] ]:1: Expected end of var ref echo ref ${!a} ^ [ stdin ]:2: fatal: Invalid var ref |
osh_.cc | 22 Bad var ref stdout: stderr: bad var name ^ [ var 'a' at line 2 of [ stdin ] ]:1: Expected end of var ref echo ref ${!a} ^~~~ [ stdin ]:2: fatal: Invalid var ref dumb_alloc: gNumNew = 1850 gNumDelete = 127 gMemPos = 64016 gNumMalloc = 83 gNumFree = 0 gMemPos2 = 9904 |
osh | 23 Bad var ref 2 stdout: stderr: / ^ [ var 'b' at line 2 of [ stdin ] ]:1: Invalid var ref echo ref ${!b} ^ [ stdin ]:2: fatal: Invalid var ref |
osh_.py | 23 Bad var ref 2 stdout: stderr: / ^ [ var 'b' at line 2 of [ stdin ] ]:1: Invalid var ref echo ref ${!b} ^ [ stdin ]:2: fatal: Invalid var ref |
osh_.cc | 23 Bad var ref 2 stdout: stderr: / ^ [ var 'b' at line 2 of [ stdin ] ]:1: Invalid var ref echo ref ${!b} ^~~~ [ stdin ]:2: fatal: Invalid var ref dumb_alloc: gNumNew = 1847 gNumDelete = 128 gMemPos = 64144 gNumMalloc = 80 gNumFree = 0 gMemPos2 = 9856 |