spec test index / oilshell.org
109 passed, 15 OK, 0 not implemented, 0 BUG, 14 failed, 0 timeouts, 0 cases skipped
| osh_.cc | 3 alias can override builtin [osh_.cc stdout] Expected 'foo bar\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: mycpp/gc_heap.h:226: void gc_heap::Heap::PushRoot(gc_heap::Obj**): Assertion `roots_top_ < kMaxRoots' failed. |
| osh_.cc | 8 alias without args lists all aliases [osh_.cc stdout] Expected "alias ex='exit'\nalias ll='ls -l'\nstatus=0\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 Loop split across alias in another way stdout: stderr: for i in 1 2 3; do echo $i
^
[ expansion of alias 'e_' ]:1: Expected word type Id.KW_Done, got Id.Eof_Real
|
| osh_.py | 22 Loop split across alias in another way stdout: stderr: for i in 1 2 3; do echo $i
^
[ expansion of alias 'e_' ]:1: Expected word type Id.KW_Done, got Id.Eof_Real
|
| osh_.cc | 22 Loop split across alias in another way stdout: stderr: for i in 1 2 3; do echo $i
^
[ expansion of alias 'e_' ]:1: dynamic_fmt_dummy
dumb_alloc:
gNumNew = 2180
gNumDelete = 186
gMemPos = 74784
gNumMalloc = 286
gNumFree = 0
gMemPos2 = 13984
|
| osh | 23 Loop split across both iterative and recursive aliases stdout: stderr: for i in $one "2" 3
^
[ expansion of alias 'FOR1' ]:1: Invalid word in for loop
|
| osh_.py | 23 Loop split across both iterative and recursive aliases stdout: stderr: for i in $one "2" 3
^
[ expansion of alias 'FOR1' ]:1: Invalid word in for loop
|
| osh_.cc | 23 Loop split across both iterative and recursive aliases stdout: stderr: for i in $one "2" 3
^
[ expansion of alias 'FOR1' ]:1: Invalid word in for loop
dumb_alloc:
gNumNew = 2925
gNumDelete = 326
gMemPos = 95728
gNumMalloc = 569
gNumFree = 0
gMemPos2 = 18464
|
| osh_.cc | 27 Two aliases in pipeline [osh_.cc stdout] Expected '3\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 | 28 Alias not respected inside $() [osh_.cc status] Expected 127, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
| osh_.cc | 31 alias with redirects works [osh_.cc stdout] Expected '1\n2\n3\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
| osh_.cc | 32 alias with environment bindings works [osh_.cc stdout] Expected '1\n2\n', got 'None\nNone\n' stdout: None Nonestderr: dumb_alloc: gNumNew = 2325 gNumDelete = 218 gMemPos = 78688 gNumMalloc = 307 gNumFree = 0 gMemPos2 = 14192 |
| osh | 34 alias for left brace stdout: stderr: { echo one
^
[ expansion of alias 'LEFT' ]:1: Expected word type Id.Lit_RBrace, got Id.Eof_Real
|
| osh_.py | 34 alias for left brace stdout: stderr: { echo one
^
[ expansion of alias 'LEFT' ]:1: Expected word type Id.Lit_RBrace, got Id.Eof_Real
|
| osh_.cc | 34 alias for left brace stdout: stderr: { echo one
^
[ expansion of alias 'LEFT' ]:1: dynamic_fmt_dummy
dumb_alloc:
gNumNew = 2042
gNumDelete = 175
gMemPos = 69552
gNumMalloc = 186
gNumFree = 0
gMemPos2 = 12176
|
| osh | 35 alias for left paren stdout: stderr: ( echo one
^
[ expansion of alias 'LEFT' ]:1: Expected word type Id.Right_Subshell, got Id.Eof_Real
|
| osh_.py | 35 alias for left paren stdout: stderr: ( echo one
^
[ expansion of alias 'LEFT' ]:1: Expected word type Id.Right_Subshell, got Id.Eof_Real
|
| osh_.cc | 35 alias for left paren stdout: stderr: ( echo one
^
[ expansion of alias 'LEFT' ]:1: dynamic_fmt_dummy
dumb_alloc:
gNumNew = 2037
gNumDelete = 175
gMemPos = 69408
gNumMalloc = 185
gNumFree = 0
gMemPos2 = 12160
|
| osh_.cc | 36 alias used in subshell and command sub [osh_.cc stdout] Expected '[ subshell\n[ commandsub\n', got '[ subshell\n' [osh_.cc status] Expected 0, got -6 stdout: [ subshellstderr: osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
| osh_.cc | 37 alias used in here doc [osh_.cc stdout] Expected '[ ]\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 | 38 here doc inside alias [osh_.cc stdout] Expected 'hi\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 | 39 Corner case: alias inside LHS array arithmetic expression [osh_.cc stdout] Expected "['ZERO', 'ONE']\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 | 40 Alias that is pipeline [osh_.cc stdout] Expected '3\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 | 41 Alias that is && || ; [osh_.cc stdout] Expected 'one\ntwo\n1\nfour\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 | 42 Alias and command sub (bug regression) [osh_.cc stdout] Expected "['foo', 'bar']\n", got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
| osh_.cc | 44 Alias and PS4 [osh_.cc stdout] Expected "['foo', 'bar']\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 | 45 alias with keywords stdout: stderr: ^ [ expansion of alias 'a' ]:1: Unexpected EOF while parsing command |
| osh_.py | 45 alias with keywords stdout: stderr: ^ [ expansion of alias 'a' ]:1: Unexpected EOF while parsing command |
| osh_.cc | 45 alias with keywords stdout: stderr: ^ [ expansion of alias 'a' ]:1: Unexpected EOF while parsing command dumb_alloc: gNumNew = 1955 gNumDelete = 158 gMemPos = 67328 gNumMalloc = 149 gNumFree = 0 gMemPos2 = 11584 |