spec test index / oilshell.org
95 passed, 0 OK, 0 not implemented, 0 BUG, 25 failed, 0 timeouts, 0 cases skipped 7 failed under osh
osh_.cc | 18 empty literals are not elided [osh_.cc stdout] Expected "['1', '', '2']\n", got "['1', '2']\n" stdout: ['1', '2']stderr: dumb_alloc: gNumNew = 1889 gNumDelete = 137 gMemPos = 65312 gNumMalloc = 88 gNumFree = 0 gMemPos2 = 9952 |
osh_.cc | 23 IFS empty doesn't do splitting [osh_.cc stdout] Expected "[' a b\\tc']\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 | 24 IFS unset behaves like $' \t\n' [osh_.cc stdout] Expected "['a', 'b', 'c']\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 | 25 IFS='\' [osh stdout] Expected "['a', 'b']\n", got "['a', '', '', '', 'b']\n" stdout: ['a', '', '', '', 'b']stderr: |
osh_.py | 25 IFS='\' [osh_.py stdout] Expected "['a', 'b']\n", got "['a', '', '', '', 'b']\n" stdout: ['a', '', '', '', 'b']stderr: |
osh_.cc | 25 IFS='\' [osh_.cc stdout] Expected "['a', 'b']\n", got "['a', '', '', '', 'b']\n" stdout: ['a', '', '', '', 'b']stderr: dumb_alloc: gNumNew = 1912 gNumDelete = 146 gMemPos = 66240 gNumMalloc = 92 gNumFree = 0 gMemPos2 = 10048 |
osh | 26 IFS='\ ' [osh stdout] Expected "['a', 'b', '', 'c', 'd']\n", got "['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '', '']\n" stdout: ['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '', '']stderr: |
osh_.py | 26 IFS='\ ' [osh_.py stdout] Expected "['a', 'b', '', 'c', 'd']\n", got "['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '', '']\n" stdout: ['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '', '']stderr: |
osh_.cc | 26 IFS='\ ' [osh_.cc stdout] Expected "['a', 'b', '', 'c', 'd']\n", got "['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '']\n" stdout: ['a', '', '', '', 'b', '', '', '', '', '', '', '', 'c', 'd', '', '']stderr: dumb_alloc: gNumNew = 1967 gNumDelete = 153 gMemPos = 68832 gNumMalloc = 126 gNumFree = 0 gMemPos2 = 10624 |
osh | 33 IFS and joining arrays by assignments [osh stdout] Expected "['x y z']\n['x y z']\n['x y z']\n['x:y z']\n", got "['x y z']\n['x:y z']\n['x:y z']\n['x:y z']\n" stdout: ['x y z'] ['x:y z'] ['x:y z'] ['x:y z']stderr: s"$*" ^ [ stdin ]:10: 'sx:y z' not found |
osh_.py | 33 IFS and joining arrays by assignments [osh_.py stdout] Expected "['x y z']\n['x y z']\n['x y z']\n['x:y z']\n", got "['x y z']\n['x:y z']\n['x:y z']\n['x:y z']\n" stdout: ['x y z'] ['x:y z'] ['x:y z'] ['x:y z']stderr: s"$*" ^ [ stdin ]:10: 'sx:y z' not found |
osh_.cc | 33 IFS and joining arrays by assignments [osh_.cc stdout] Expected "['x y z']\n['x y z']\n['x y z']\n['x:y z']\n", got "['x y z']\n['x:y z']\n['x:y z']\n['x:y z']\n" stdout: ['x y z'] ['x:y z'] ['x:y z'] ['x:y z']stderr: s"$*" ^ [ stdin ]:10: 'sx:y z' not found dumb_alloc: gNumNew = 2548 gNumDelete = 254 gMemPos = 85216 gNumMalloc = 265 gNumFree = 0 gMemPos2 = 12816 |
osh | 35 IFS='' with $@ and $* [osh stdout] Expected "['at', 'a', 'b c']\n['star', 'a', 'b c']\n", got "['at', 'ab c']\n['star', 'ab c']\n" stdout: ['at', 'ab c'] ['star', 'ab c']stderr: |
osh_.py | 35 IFS='' with $@ and $* [osh_.py stdout] Expected "['at', 'a', 'b c']\n['star', 'a', 'b c']\n", got "['at', 'ab c']\n['star', 'ab c']\n" stdout: ['at', 'ab c'] ['star', 'ab c']stderr: |
osh_.cc | 35 IFS='' with $@ and $* [osh_.cc stdout] Expected "['at', 'a', 'b c']\n['star', 'a', 'b c']\n", got "['at', 'ab c']\n['star', 'ab c']\n" stdout: ['at', 'ab c'] ['star', 'ab c']stderr: dumb_alloc: gNumNew = 2226 gNumDelete = 199 gMemPos = 75328 gNumMalloc = 199 gNumFree = 0 gMemPos2 = 11760 |
osh | 36 IFS='' with $@ and $* and printf [osh stdout] Expected '[a]\n[b c]\n[a]\n[b c]\n', got '[ab c]\n[ab c]\n' stdout: [ab c] [ab c]stderr: |
osh_.py | 36 IFS='' with $@ and $* and printf [osh_.py stdout] Expected '[a]\n[b c]\n[a]\n[b c]\n', got '[ab c]\n[ab c]\n' stdout: [ab c] [ab c]stderr: |
osh_.cc | 36 IFS='' with $@ and $* and printf [osh_.cc stdout] Expected '[a]\n[b c]\n[a]\n[b c]\n', got '[ab c]\n[ab c]\n' stdout: [ab c] [ab c]stderr: dumb_alloc: gNumNew = 2232 gNumDelete = 197 gMemPos = 74976 gNumMalloc = 183 gNumFree = 0 gMemPos2 = 11504 |
osh | 37 IFS='' with ${a[@]} and ${a[*]} [osh stdout] Expected "['at', 'a', 'b c']\n['star', 'a', 'b c']\n", got "['at', 'ab c']\n['star', 'ab c']\n" stdout: ['at', 'ab c'] ['star', 'ab c']stderr: |
osh_.py | 37 IFS='' with ${a[@]} and ${a[*]} [osh_.py stdout] Expected "['at', 'a', 'b c']\n['star', 'a', 'b c']\n", got "['at', 'ab c']\n['star', 'ab c']\n" stdout: ['at', 'ab c'] ['star', 'ab c']stderr: |
osh_.cc | 37 IFS='' with ${a[@]} and ${a[*]} [osh_.cc stdout] Expected "['at', 'a', 'b c']\n['star', 'a', 'b c']\n", got "['at', 'ab c']\n['star', 'ab c']\n" stdout: ['at', 'ab c'] ['star', 'ab c']stderr: dumb_alloc: gNumNew = 2138 gNumDelete = 184 gMemPos = 72768 gNumMalloc = 181 gNumFree = 0 gMemPos2 = 11472 |
osh | 38 Bug #628 split on : with : in literal word [osh stdout] Expected "['a', ':b']\n['a', ':']\n---\n['a', 'zb']\n['a', 'z']\n", got "['a', '\\\\', 'b']\n['a', '\\\\']\n---\n['a', '\\\\', 'b']\n['a', '\\\\']\n" stdout: ['a', '\\', 'b'] ['a', '\\'] --- ['a', '\\', 'b'] ['a', '\\']stderr: |
osh_.py | 38 Bug #628 split on : with : in literal word [osh_.py stdout] Expected "['a', ':b']\n['a', ':']\n---\n['a', 'zb']\n['a', 'z']\n", got "['a', '\\\\', 'b']\n['a', '\\\\']\n---\n['a', '\\\\', 'b']\n['a', '\\\\']\n" stdout: ['a', '\\', 'b'] ['a', '\\'] --- ['a', '\\', 'b'] ['a', '\\']stderr: |
osh_.cc | 38 Bug #628 split on : with : in literal word [osh_.cc stdout] Expected "['a', ':b']\n['a', ':']\n---\n['a', 'zb']\n['a', 'z']\n", got "['a', '\\\\', 'b']\n['a', '\\\\']\n['a', '\\\\', 'b']\n['a', '\\\\']\n---\n" stdout: ['a', '\\', 'b'] ['a', '\\'] ['a', '\\', 'b'] ['a', '\\'] ---stderr: dumb_alloc: gNumNew = 2519 gNumDelete = 274 gMemPos = 83312 gNumMalloc = 296 gNumFree = 0 gMemPos2 = 13312 |
osh_.cc | 39 Bug #698, similar crash [osh_.cc stdout] Expected '\\\n', got '\n' stdout: stderr: dumb_alloc: gNumNew = 1957 gNumDelete = 139 gMemPos = 67168 gNumMalloc = 90 gNumFree = 0 gMemPos2 = 10016 |