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 "['0', '1']\n['']\n['A', 'B']\n['']\na_keys=0\na_nobrackets=0\n---\nA_keys=0\nA_nobrackets=0\n" stdout: ['0', '1'] [''] ['A', 'B'] [''] a_keys=0 a_nobrackets=0 --- A_keys=0 A_nobrackets=0stderr: dumb_alloc: gNumNew = 3348 gNumDelete = 406 gMemPos = 108144 gNumMalloc = 602 gNumFree = 0 gMemPos2 = 18864 |
| 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:106: 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:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
| osh | 22 Bad var ref stdout: stderr: bad var name
^
(source.ArgvWord word_spid:11):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
^
(source.ArgvWord word_spid:11):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
^
TODO:1: Expected end of var ref
echo ref ${!a}
^~~~
[ stdin ]:2: fatal: Invalid var ref
dumb_alloc:
gNumNew = 1778
gNumDelete = 127
gMemPos = 61744
gNumMalloc = 82
gNumFree = 0
gMemPos2 = 10496
|
| osh | 23 Bad var ref 2 stdout: stderr: /
^
(source.ArgvWord word_spid:14):1: Invalid var ref
echo ref ${!b}
^
[ stdin ]:2: fatal: Invalid var ref
|
| osh_.py | 23 Bad var ref 2 stdout: stderr: /
^
(source.ArgvWord word_spid:14):1: Invalid var ref
echo ref ${!b}
^
[ stdin ]:2: fatal: Invalid var ref
|
| osh_.cc | 23 Bad var ref 2 stdout: stderr: /
^
TODO:1: Invalid var ref
echo ref ${!b}
^~~~
[ stdin ]:2: fatal: Invalid var ref
dumb_alloc:
gNumNew = 1775
gNumDelete = 128
gMemPos = 61872
gNumMalloc = 79
gNumFree = 0
gMemPos2 = 10448
|