spec test index / oilshell.org
70 passed, 2 OK, 0 not implemented, 0 BUG, 6 failed, 0 timeouts, 0 cases skipped 3 failed under osh
osh | 31 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-cpp | 31 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 | 35 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-cpp | 35 PatSub of unescaped [[] and []] [osh-cpp 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 | 36 PatSub of negated unescaped [[] and []] [osh stdout] Expected '[<<<<\n>>>>]\n[<<<<\n', got '[<<<<\n>>>>]\n[foo]\n' stdout: [<<<< >>>>] [foo]stderr: |
osh-cpp | 36 PatSub of negated unescaped [[] and []] [osh-cpp stdout] Expected '[<<<<\n>>>>]\n[<<<<\n', got '[<<<<\n>>>>]\n[foo]\n' stdout: [<<<< >>>>] [foo]stderr: |
osh | 38 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-cpp | 38 dotglob (bash option that dashglob is roughly consistent with) [osh-cpp stdout] Expected 'other\n.foorc other\n', got 'other\nother\n' stdout: other otherstderr: |