spec test index / oilshell.org
32 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
osh | 7 Range with escaped characters [osh stdout] Expected ' 5b 00 2d 0f 5d 0a\n', got '' [osh status] Expected 0, got 1 [osh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 375, in <module> sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 319, in main return AppBundleMain(argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 278, in AppBundleMain loader, line_input) File "/home/andy/git/oilshell/oil/core/shell.py", line 684, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 153, in Batch node = c_parser.ParseLogicalLine() # can raise ParseError File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 2065, in ParseLogicalLine node = self._ParseCommandLine() File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1927, in _ParseCommandLine child = self.ParseAndOr() File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1857, in ParseAndOr child = self.ParsePipeline() File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1803, in ParsePipeline child = self.ParseCommand() File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1717, in ParseCommand return self.ParseCompoundCommand() File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1485, in ParseCompoundCommand return self.w_parser.ParsePlaceMutation(kw_token) File "/home/andy/git/oilshell/oil/osh/word_parse.py", line 873, in ParsePlaceMutation enode, last_token = self.parse_ctx.ParsePlaceMutation(kw_token, self.lexer) File "/home/andy/git/oilshell/oil/frontend/parse_lib.py", line 351, in ParsePlaceMutation ast_node = self.tr.MakePlaceMutation(pnode) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 683, in MakePlaceMutation rhs = self.Expr(children[2]) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 443, in Expr return self._Tuple(children) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 226, in _Tuple return self.Expr(children[0]) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 448, in Expr return self.Expr(children[0]) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 475, in Expr return self._AssocBinary(children) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 102, in _AssocBinary return self.Expr(children[0]) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 479, in Expr return self._AssocBinary(children) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 102, in _AssocBinary return self.Expr(children[0]) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 484, in Expr return self.Expr(children[0]) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 491, in Expr return self.Expr(children[0]) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 498, in Expr return self.Expr(children[0]) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 510, in Expr return self._AssocBinary(children) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 102, in _AssocBinary return self.Expr(children[0]) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 514, in Expr return self._AssocBinary(children) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 102, in _AssocBinary return self.Expr(children[0]) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 518, in Expr return self._AssocBinary(children) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 102, in _AssocBinary return self.Expr(children[0]) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 522, in Expr return self._AssocBinary(children) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 102, in _AssocBinary return self.Expr(children[0]) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 526, in Expr return self._AssocBinary(children) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 102, in _AssocBinary return self.Expr(children[0]) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 530, in Expr return self._AssocBinary(children) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 102, in _AssocBinary return self.Expr(children[0]) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 536, in Expr return self.Expr(children[0]) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 548, in Expr node = self.Expr(children[0]) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 439, in Expr return self._Atom(children) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 305, in _Atom r = self._Regex(children[1]) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 1386, in _Regex return self._Regex(children[0]) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 1402, in _Regex r = self._ReAtom(children[i]) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 1258, in _ReAtom return re.ClassLiteral(False, self._ClassLiteral(p_child)) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 1181, in _ClassLiteral terms = [self._ClassLiteralTerm(c) for c in p_node.children[1:-1]] File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 1161, in _ClassLiteralTerm start = self._RangeChar(children[0]) File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 1075, in _RangeChar raise AssertionError('TODO') AssertionError: TODO |
osh | 11 Named Capture With ~ Assigns Variable [osh stdout] Expected '([[:digit:]]+)\nyes\nTODO MONTH\n', got '([[:digit:]]+)\nyes\n' [osh status] Expected 0, got 1 stdout: ([[:digit:]]+) yesstderr: = month ^ [ stdin ]:6: fatal: Undefined variable 'month' |