spec test index / oilshell.org
136 passed, 21 OK, 0 not implemented, 0 BUG, 8 failed, 0 timeouts, 0 cases skipped
osh | 1 incomplete trailing expansion stdout: {a,b}_{stderr: |
osh_.py | 1 incomplete trailing expansion stdout: {a,b}_{stderr: |
osh_.cc | 1 incomplete trailing expansion stdout: {a,b}_{stderr: |
osh | 2 partial leading expansion stdout: }_{a,b}stderr: |
osh_.py | 2 partial leading expansion stdout: }_{a,b}stderr: |
osh_.cc | 2 partial leading expansion stdout: }_{a,b}stderr: |
osh | 3 partial leading expansion 2 stdout: {x}_{a,b}stderr: |
osh_.py | 3 partial leading expansion 2 stdout: {x}_{a,b}stderr: |
osh_.cc | 3 partial leading expansion 2 stdout: {x}_{a,b}stderr: |
osh | 4 } in expansion stdout: {a,b}}stderr: |
osh_.py | 4 } in expansion stdout: {a,b}}stderr: |
osh_.cc | 4 } in expansion stdout: {a,b}}stderr: |
osh_.py | 14 expansion with command sub [osh_.py stdout] Expected '-a- -b-\n', got '' [osh_.py status] Expected 0, got 1 [osh_.py stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 417, in <module> status = main(sys.argv) File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 309, in main cmd_flags=cmd_eval.IsMainProgram) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 168, in Batch is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1461, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1341, in _Execute status, check_errexit = self._Dispatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 547, in _Dispatch cmd_val = self.word_ev.EvalWordSequence2(words, allow_assign=True) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1868, in EvalWordSequence2 self._EvalWordToParts(w, False, part_vals) # not double quoted File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1455, in _EvalWordToParts self._EvalWordPart(p, part_vals, quoted=quoted, is_subst=is_subst) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1332, in _EvalWordPart sv = self._EvalCommandSub(part.child, quoted) # type: part_value_t File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1959, in _EvalCommandSub stdout = self.shell_ex.RunCommandSub(node) AttributeError: 'NoneType' object has no attribute 'RunCommandSub' |
osh_.cc | 14 expansion with command sub [osh_.cc stdout] Expected '-a- -b-\n', got '-- -b-\n' stdout: -- -b-stderr: |
osh_.cc | 20 Empty alternative [osh_.cc stdout] Expected "['X', 'Y']\n", got '(cmd_value.Argv argv:[argv.py X Y] arg_spids:[0 3 6])\n' stdout: (cmd_value.Argv argv:[argv.py X Y] arg_spids:[0 3 6])stderr: Unhandled SimpleCommand |
osh_.cc | 21 Empty alternative with empty string suffix [osh_.cc stdout] Expected "['X', '', 'Y', '']\n", got "(cmd_value.Argv argv:[argv.py X '' Y ''] arg_spids:[0 3 9 6 9])\n" stdout: (cmd_value.Argv argv:[argv.py X '' Y ''] arg_spids:[0 3 9 6 9])stderr: Unhandled SimpleCommand |
osh_.py | 26 no expansion with RHS assignment [osh_.py status] Expected 127, got 1 stdout: stderr: Error running ['v=X', 'x=X']: [Errno 2] No such file or directory |
osh_.cc | 26 no expansion with RHS assignment [osh_.cc stdout] Expected u'', got "(cmd_value.Argv argv:['v=X' 'x=X'] arg_spids:[1 3])\n" [osh_.cc status] Expected 127, got 0 stdout: (cmd_value.Argv argv:['v=X' 'x=X'] arg_spids:[1 3])stderr: Unhandled SimpleCommand |
osh_.cc | 27 Tilde expansion [osh_.cc stdout] Expected '/home/foo\n/home/bar\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/core_passwd.h:16: Str *passwd::GetHomeDir(syntax_asdl::Token *): Assertion `0' failed. |
osh | 28 Tilde expansion with brace expansion stdout: foo~/bar ~/barstderr: |
osh_.py | 28 Tilde expansion with brace expansion stdout: foo~/bar ~/barstderr: |
osh_.cc | 28 Tilde expansion with brace expansion stdout: foo~/bar ~/barstderr: |
osh | 29 Two kinds of tilde expansion stdout: ~/src ~rootstderr: |
osh_.py | 29 Two kinds of tilde expansion stdout: ~/src ~rootstderr: |
osh_.cc | 29 Two kinds of tilde expansion stdout: ~/src ~rootstderr: |
osh_.cc | 30 Tilde expansion come before var expansion [osh_.cc stdout] Expected '/home/bob\n~\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.dbg: cpp/core_passwd.h:16: Str *passwd::GetHomeDir(syntax_asdl::Token *): Assertion `0' failed. |
osh | 50 comma and invalid range (adjacent and nested) stdout: -{a,b}{1...3}- -{a,{1...3}}- {a,b}{}stderr: |
osh_.py | 50 comma and invalid range (adjacent and nested) stdout: -{a,b}{1...3}- -{a,{1...3}}- {a,b}{}stderr: |
osh_.cc | 50 comma and invalid range (adjacent and nested) stdout: -{a,b}{1...3}- -{a,{1...3}}- {a,b}{}stderr: |