spec test index / oilshell.org
104 passed, 3 OK, 0 not implemented, 0 BUG, 16 failed, 0 timeouts, 0 cases skipped 4 failed under osh
osh_.cc | 7 glob can expand to command and arg [osh_.cc stdout] Expected 'spec/testdata/echo.sz\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/pylib_path_stat.h:10: bool path_stat::exists(Str*): Assertion `0' failed. |
osh_.cc | 20 Redirect to glob, not evaluated [osh_.cc stdout] Expected 'foo\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed. |
osh | 32 shopt -s failglob behavior on single line with semicolon stdout: status=1 status=1stderr: echo *.ZZ; echo status=$? # bash doesn't execute the second part! ^~~~ [ stdin ]:2: failglob: Pattern '*.ZZ' matched no files echo *.ZZ ^~~~ [ stdin ]:3: failglob: Pattern '*.ZZ' matched no files |
osh_.py | 32 shopt -s failglob behavior on single line with semicolon stdout: status=1 status=1stderr: echo *.ZZ; echo status=$? # bash doesn't execute the second part! ^~~~ [ stdin ]:2: failglob: Pattern '*.ZZ' matched no files echo *.ZZ ^~~~ [ stdin ]:3: failglob: Pattern '*.ZZ' matched no files |
osh_.cc | 32 shopt -s failglob behavior on single line with semicolon stdout: status=1 status=1stderr: echo *.ZZ; echo status=$? # bash doesn't execute the second part! ^~~~ [ stdin ]:2: failglob: Pattern '*.ZZ' matched no files echo *.ZZ ^~~~ [ stdin ]:3: failglob: Pattern '*.ZZ' matched no files dumb_alloc: gNumNew = 2356 gNumDelete = 213 gMemPos = 78208 gNumMalloc = 266 gNumFree = 0 gMemPos2 = 12896 |
osh | 33 Don't glob flags on file system with GLOBIGNORE [osh stdout] Expected u'-* hello zzzz?\n', got 'hello zzzzz' stdout: hello zzzzzstderr: |
osh_.py | 33 Don't glob flags on file system with GLOBIGNORE [osh_.py stdout] Expected u'-* hello zzzz?\n', got 'hello zzzzz' stdout: hello zzzzzstderr: |
osh_.cc | 33 Don't glob flags on file system with GLOBIGNORE [osh_.cc stdout] Expected u'-* hello zzzz?\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed. |
osh | 37 PatSub of unescaped [[] and []] [osh stdout] Expected '<foo]\n[foo>\n<foo]\n[foo>\n', got '<foo]\n[foo>\n[foo]\n[foo>\n' stdout: <foo] [foo> [foo] [foo>stderr: |
osh_.py | 37 PatSub of unescaped [[] and []] [osh_.py stdout] Expected '<foo]\n[foo>\n<foo]\n[foo>\n', got '<foo]\n[foo>\n[foo]\n[foo>\n' stdout: <foo] [foo> [foo] [foo>stderr: |
osh_.cc | 37 PatSub of unescaped [[] and []] [osh_.cc stdout] Expected '<foo]\n[foo>\n<foo]\n[foo>\n', got '<foo]\n[foo>\n[foo]\n[foo>\n' stdout: <foo] [foo> [foo] [foo>stderr: dumb_alloc: gNumNew = 2437 gNumDelete = 224 gMemPos = 79568 gNumMalloc = 276 gNumFree = 0 gMemPos2 = 12992 |
osh | 38 PatSub of negated unescaped [[] and []] [osh stdout] Expected '[<<<<\n>>>>]\n[<<<<\n', got '[<<<<\n>>>>]\n[foo]\n' stdout: [<<<< >>>>] [foo]stderr: |
osh_.py | 38 PatSub of negated unescaped [[] and []] [osh_.py stdout] Expected '[<<<<\n>>>>]\n[<<<<\n', got '[<<<<\n>>>>]\n[foo]\n' stdout: [<<<< >>>>] [foo]stderr: |
osh_.cc | 38 PatSub of negated unescaped [[] and []] [osh_.cc stdout] Expected '[<<<<\n>>>>]\n[<<<<\n', got '[<<<<\n>>>>]\n[foo]\n' stdout: [<<<< >>>>] [foo]stderr: dumb_alloc: gNumNew = 2300 gNumDelete = 214 gMemPos = 76464 gNumMalloc = 227 gNumFree = 0 gMemPos2 = 12208 |
osh_.py | 39 Glob unicode char [osh_.py stdout] Expected '__a__ __\xce\xbc__\n', got '__a__\n' stdout: __a__stderr: |
osh_.cc | 39 Glob unicode char [osh_.cc stdout] Expected '__a__ __\xce\xbc__\n', got '__a__\n' stdout: __a__stderr: dumb_alloc: gNumNew = 2692 gNumDelete = 215 gMemPos = 92480 gNumMalloc = 673 gNumFree = 0 gMemPos2 = 23968 |
osh | 40 dotglob (bash option that dashglob is roughly consistent with) [osh stdout] Expected 'other\n.foorc other\n', got 'other\nother\n' stdout: other otherstderr: |
osh_.py | 40 dotglob (bash option that dashglob is roughly consistent with) [osh_.py stdout] Expected 'other\n.foorc other\n', got 'other\nother\n' stdout: other otherstderr: |
osh_.cc | 40 dotglob (bash option that dashglob is roughly consistent with) [osh_.cc stdout] Expected 'other\n.foorc other\n', got 'other\nother\n' stdout: other otherstderr: dumb_alloc: gNumNew = 2934 gNumDelete = 271 gMemPos = 98320 gNumMalloc = 651 gNumFree = 0 gMemPos2 = 23472 |