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 = 1914 gNumDelete = 151 gMemPos = 66208 gNumMalloc = 123 gNumFree = 0 gMemPos2 = 11168 |
osh_.cc | 1 Env value with equals [osh_.cc stdout] Expected 'foo=foo\n', got 'None\n' stdout: Nonestderr: dumb_alloc: gNumNew = 1790 gNumDelete = 128 gMemPos = 63120 gNumMalloc = 87 gNumFree = 0 gMemPos2 = 10592 |
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 = 1915 gNumDelete = 156 gMemPos = 66768 gNumMalloc = 136 gNumFree = 0 gMemPos2 = 11376 |
osh_.cc | 3 Env value with two quotes [osh_.cc stdout] Expected 'fooadjacent\n', got 'None\n' stdout: Nonestderr: dumb_alloc: gNumNew = 1806 gNumDelete = 132 gMemPos = 63488 gNumMalloc = 92 gNumFree = 0 gMemPos2 = 10672 |
osh_.cc | 4 Env value with escaped < [osh_.cc stdout] Expected 'foo<foo\n', got 'None\n' stdout: Nonestderr: dumb_alloc: gNumNew = 1796 gNumDelete = 131 gMemPos = 63312 gNumMalloc = 89 gNumFree = 0 gMemPos2 = 10624 |
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 = 2759 gNumDelete = 297 gMemPos = 90304 gNumMalloc = 356 gNumFree = 0 gMemPos2 = 14912 |
osh_.cc | 11 Empty env binding [osh_.cc stdout] Expected '\n', got 'None\n' stdout: Nonestderr: dumb_alloc: gNumNew = 1784 gNumDelete = 123 gMemPos = 62976 gNumMalloc = 90 gNumFree = 0 gMemPos2 = 10640 |
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: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
osh_.cc | 36 export a=1 no_value c=2 [osh_.cc stdout] Expected 'foo\n', got 'None\n' stdout: Nonestderr: dumb_alloc: gNumNew = 1927 gNumDelete = 154 gMemPos = 66912 gNumMalloc = 116 gNumFree = 0 gMemPos2 = 11056 |
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 = 2228 gNumDelete = 209 gMemPos = 75120 gNumMalloc = 157 gNumFree = 0 gMemPos2 = 11696 |
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: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed.\n" [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 | 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: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed.\n" [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 | 40 redirect after bare assignment [osh_.cc stdout] Expected 'done\n', got '' [osh_.cc stderr] Expected u'', got "osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed.\n" [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 | 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: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed.\n" [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |