spec test index / oilshell.org
112 passed, 2 OK, 0 not implemented, 0 BUG, 18 failed, 0 timeouts, 0 cases skipped 2 failed under osh
osh_.cc | 0 Env value doesn't persist [osh_.cc stdout] Expected 'foo\n--\n', got 'None\n--\n' stdout: None --stderr: dumb_alloc: gNumNew = 1967 gNumDelete = 152 gMemPos = 67568 gNumMalloc = 124 gNumFree = 0 gMemPos2 = 10560 |
osh_.cc | 1 Env value with equals [osh_.cc stdout] Expected 'foo=foo\n', got 'None\n' stdout: Nonestderr: dumb_alloc: gNumNew = 1839 gNumDelete = 127 gMemPos = 64400 gNumMalloc = 88 gNumFree = 0 gMemPos2 = 9984 |
osh_.cc | 2 Env binding can use preceding bindings, but not subsequent ones [osh_.cc stdout] Expected 'foo\n[foo][]\nbaz\n', got 'None\nNone\nNone\n' stdout: None None Nonestderr: dumb_alloc: gNumNew = 1966 gNumDelete = 155 gMemPos = 68080 gNumMalloc = 137 gNumFree = 0 gMemPos2 = 10768 |
osh_.cc | 3 Env value with two quotes [osh_.cc stdout] Expected 'fooadjacent\n', got 'None\n' stdout: Nonestderr: dumb_alloc: gNumNew = 1855 gNumDelete = 131 gMemPos = 64768 gNumMalloc = 93 gNumFree = 0 gMemPos2 = 10064 |
osh_.cc | 4 Env value with escaped < [osh_.cc stdout] Expected 'foo<foo\n', got 'None\n' stdout: Nonestderr: dumb_alloc: gNumNew = 1845 gNumDelete = 130 gMemPos = 64592 gNumMalloc = 90 gNumFree = 0 gMemPos2 = 10016 |
osh_.cc | 7 Multiple temporary envs on the stack [osh_.cc stdout] Expected 'f [] [A]\n--- g() ---\nf\n[]\n[A]\nNone\np\n--- f() ---\nf\nNone\nNone\nNone\nNone\n', got 'None\nNone\nNone\nNone\nNone\nNone\nNone\nNone\nNone\nNone\nf [] [A]\n--- g() ---\n--- f() ---\n' stdout: None None None None None None None None None None f [] [A] --- g() --- --- f() ---stderr: dumb_alloc: gNumNew = 2828 gNumDelete = 296 gMemPos = 91904 gNumMalloc = 357 gNumFree = 0 gMemPos2 = 14304 |
osh_.cc | 11 Empty env binding [osh_.cc stdout] Expected '\n', got 'None\n' stdout: Nonestderr: dumb_alloc: gNumNew = 1833 gNumDelete = 122 gMemPos = 64256 gNumMalloc = 91 gNumFree = 0 gMemPos2 = 10032 |
osh_.cc | 14 Env binding in readonly/declare is NOT exported! (pitfall) [osh_.cc stdout] Expected 'v=None\nv2=foo\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt.stripped: cpp/posix.h:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed. timeout: the monitored command dumped core |
osh_.cc | 36 export a=1 no_value c=2 [osh_.cc stdout] Expected 'foo\n', got 'None\n' stdout: Nonestderr: dumb_alloc: gNumNew = 1987 gNumDelete = 156 gMemPos = 68512 gNumMalloc = 117 gNumFree = 1 gMemPos2 = 10480 |
osh_.cc | 37 local a=loc $var c=loc [osh_.cc stdout] Expected "global\n['loc', '', 'loc']\n", got "['loc', '', 'loc']\nglobal\n" stdout: ['loc', '', 'loc'] globalstderr: dumb_alloc: gNumNew = 2294 gNumDelete = 212 gMemPos = 77056 gNumMalloc = 158 gNumFree = 1 gMemPos2 = 11120 |
osh | 38 redirect after assignment builtin (what's going on with dash/bash/mksh here?) [osh stderr] Expected 'STDERR\n', got '' stdout: donestderr: |
osh_.py | 38 redirect after assignment builtin (what's going on with dash/bash/mksh here?) [osh_.py stderr] Expected 'STDERR\n', got '' stdout: donestderr: |
osh_.cc | 38 redirect after assignment builtin (what's going on with dash/bash/mksh here?) [osh_.cc stdout] Expected 'done\n', got '' [osh_.cc stderr] Expected 'STDERR\n', got "osh_eval.opt.stripped: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed.\ntimeout: the monitored command dumped core\n" [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt.stripped: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed. timeout: the monitored command dumped core |
osh | 39 redirect after command sub (like case above but without assignment builtin) [osh stderr] Expected 'STDERR\n', got '' stdout: stdout=STDOUTstderr: |
osh_.py | 39 redirect after command sub (like case above but without assignment builtin) [osh_.py stderr] Expected 'STDERR\n', got '' stdout: stdout=STDOUTstderr: |
osh_.cc | 39 redirect after command sub (like case above but without assignment builtin) [osh_.cc stdout] Expected 'stdout=STDOUT\n', got '' [osh_.cc stderr] Expected 'STDERR\n', got "osh_eval.opt.stripped: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed.\ntimeout: the monitored command dumped core\n" [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt.stripped: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed. timeout: the monitored command dumped core |
osh_.cc | 40 redirect after bare assignment [osh_.cc stdout] Expected 'done\n', got '' [osh_.cc stderr] Expected u'', got "osh_eval.opt.stripped: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed.\ntimeout: the monitored command dumped core\n" [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt.stripped: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed. timeout: the monitored command dumped core |
osh | 41 redirect after declare -p stdout: stderr: declare -- foo=bar |
osh_.py | 41 redirect after declare -p stdout: stderr: declare -- foo=bar |
osh_.cc | 41 redirect after declare -p [osh_.cc stderr] Expected 'declare -- foo=bar\n', got "osh_eval.opt.stripped: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed.\ntimeout: the monitored command dumped core\n" [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt.stripped: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed. timeout: the monitored command dumped core |