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 = 1837 gNumDelete = 136 gMemPos = 63760 gNumMalloc = 87 gNumFree = 0 gMemPos2 = 10560 |
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:106: 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:106: 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 = 1863 gNumDelete = 146 gMemPos = 64736 gNumMalloc = 91 gNumFree = 0 gMemPos2 = 10656 |
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 = 1918 gNumDelete = 153 gMemPos = 67328 gNumMalloc = 125 gNumFree = 0 gMemPos2 = 11232 |
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 ]:7: '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 ]:7: '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 ]:7: 'sx:y z' not found dumb_alloc: gNumNew = 2516 gNumDelete = 250 gMemPos = 83776 gNumMalloc = 264 gNumFree = 0 gMemPos2 = 13424 |
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 = 2164 gNumDelete = 195 gMemPos = 73248 gNumMalloc = 198 gNumFree = 0 gMemPos2 = 12368 |
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 = 2156 gNumDelete = 197 gMemPos = 72736 gNumMalloc = 182 gNumFree = 0 gMemPos2 = 12112 |
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 = 2078 gNumDelete = 180 gMemPos = 70720 gNumMalloc = 180 gNumFree = 0 gMemPos2 = 12080 |
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 = 2452 gNumDelete = 266 gMemPos = 80752 gNumMalloc = 295 gNumFree = 0 gMemPos2 = 13920 |
osh_.cc | 39 Bug #698, similar crash [osh_.cc stdout] Expected '\\\n', got '\n' stdout: stderr: dumb_alloc: gNumNew = 1887 gNumDelete = 139 gMemPos = 65024 gNumMalloc = 89 gNumFree = 0 gMemPos2 = 10624 |