spec test index / oilshell.org
37 passed, 3 OK, 0 not implemented, 0 BUG, 23 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh_.cc | 0 String slice [osh_.cc stdout] Expected 'bcd\n', got 'abcdefg\n' stdout: abcdefgstderr: |
osh | 1 Cannot take length of substring slice stdout: stderr: echo ${#v:1:3} ^ [ stdin ]:2: Expected } after length expression |
osh_.py | 1 Cannot take length of substring slice stdout: stderr: echo ${#v:1:3} ^ [ stdin ]:2: Expected } after length expression |
osh_.cc | 1 Cannot take length of substring slice stdout: stderr: echo ${#v:1:3} ^ [ stdin ]:2: Expected } after length expression |
osh_.cc | 2 Out of range string slice: begin [osh_.cc stdout] Expected '_\n0\n', got '_abcdefg\n0\n' stdout: _abcdefg 0stderr: |
osh_.cc | 3 Out of range string slice: length [osh_.cc stdout] Expected '_defg\n0\n', got '_abcdefg\n0\n' stdout: _abcdefg 0stderr: |
osh_.cc | 4 Negative start index [osh_.cc stdout] Expected 'def\n', got 'abcdefg\n' stdout: abcdefgstderr: |
osh_.cc | 5 Negative start index respects unicode [osh_.cc stdout] Expected 'd-\xce\xbc\n', got 'abcd-\xce\xbc-\n' stdout: abcd-μ-stderr: |
osh_.cc | 6 Negative second arg is position, not length! [osh_.cc stdout] Expected 'def de d\n', got 'abcdefg abcdefg abcdefg\n' stdout: abcdefg abcdefg abcdefgstderr: |
osh_.cc | 7 Negative start index respects unicode [osh_.cc stdout] Expected 'cd\n', got 'abcd-\xce\xbc-\n' stdout: abcd-μ-stderr: |
osh_.cc | 8 String slice with math [osh_.cc stdout] Expected 'def\n', got 'abcdefg\n' stdout: abcdefgstderr: |
osh_.cc | 10 Slice UTF-8 String [osh_.cc stdout] Expected '-\xce\xbc-\n', got '--\xce\xbc--\n' stdout: --μ--stderr: |
osh_.py | 11 Slice string with invalid UTF-8 results in empty string and warning [osh_.py stdout] Expected '--\n', got '' [osh_.py stderr] Expected '[??? no location ???] warning: Invalid start of UTF-8 character\n', got 'Traceback (most recent call last):\n File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 417, in <module>\n status = main(sys.argv)\n File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 309, in main\n cmd_flags=cmd_eval.IsMainProgram)\n File "/home/andy/git/oilshell/oil/core/main_loop.py", line 168, in Batch\n is_return, is_fatal = cmd_ev.ExecuteAndCatch(node, cmd_flags=cmd_flags)\n File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1461, in ExecuteAndCatch\n status = self._Execute(node)\n File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1341, in _Execute\n status, check_errexit = self._Dispatch(node)\n File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 837, in _Dispatch\n val = self.word_ev.EvalRhsWord(pair.rhs)\n File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1602, in EvalRhsWord\n return self.EvalWordToString(w)\n File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1498, in EvalWordToString\n self._EvalWordPart(p, part_vals, quoted=False)\n File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1332, in _EvalWordPart\n sv = self._EvalCommandSub(part.child, quoted) # type: part_value_t\n File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1959, in _EvalCommandSub\n stdout = self.shell_ex.RunCommandSub(node)\nAttributeError: \'NoneType\' object has no attribute \'RunCommandSub\'\n' [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 837, in _Dispatch val = self.word_ev.EvalRhsWord(pair.rhs) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1602, in EvalRhsWord return self.EvalWordToString(w) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1498, in EvalWordToString self._EvalWordPart(p, part_vals, quoted=False) 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 | 11 Slice string with invalid UTF-8 results in empty string and warning [osh_.cc stdout] Expected '--\n', got '-bcdef-\n' [osh_.cc stderr] Expected '[??? no location ???] warning: Invalid start of UTF-8 character\n', got '' stdout: -bcdef-stderr: |
osh_.py | 12 Slice string with invalid UTF-8 with strict_word_eval [osh_.py stderr] Found 'Traceback (most recent' stdout: slicestderr: 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 837, in _Dispatch val = self.word_ev.EvalRhsWord(pair.rhs) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1602, in EvalRhsWord return self.EvalWordToString(w) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1498, in EvalWordToString self._EvalWordPart(p, part_vals, quoted=False) 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 | 12 Slice string with invalid UTF-8 with strict_word_eval [osh_.cc stdout] Expected 'slice\n', got 'slice\n-bcdef-\n' [osh_.cc status] Expected 1, got 0 stdout: slice -bcdef-stderr: |
osh_.py | 15 Simple ${@:offset} [osh_.py stdout] Expected "['SHELL', '4', '5', '6']\n['4', '5', '6']\n['5', '6']\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 837, in _Dispatch val = self.word_ev.EvalRhsWord(pair.rhs) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1602, in EvalRhsWord return self.EvalWordToString(w) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1498, in EvalWordToString self._EvalWordPart(p, part_vals, quoted=False) 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 | 15 Simple ${@:offset} [osh_.cc stdout] Expected "['SHELL', '4', '5', '6']\n['4', '5', '6']\n['5', '6']\n", got '' [osh_.cc status] Expected 0, got -11 stdout: stderr: set 5 |
osh_.cc | 16 ${@:offset} and ${*:offset} [osh_.cc stdout] Expected "['-SHELL', 'a', '1', 'b', '2', 'c', '3-']\n['-a', '1', 'b', '2', 'c', '3-']\n['-c', '3-']\n['--']\n['--']\n['-SHELL', 'a', '1', 'b', '2', 'c', '3-']\n['-a', '1', 'b', '2', 'c', '3-']\n['-c', '3-']\n['--']\n['--']\n['-SHELL a 1 b 2 c 3-']\n['-a 1 b 2 c 3-']\n['-c 3-']\n['--']\n['--']\n['-SHELL', 'a 1', 'b 2', 'c 3-']\n['-a 1', 'b 2', 'c 3-']\n['-c 3-']\n['--']\n['--']\n", got "(cmd_value.Argv argv:[argv.py -a 1 b 2 c 3-] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py --a 1 b 2 c 3--] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py ---a 1 b 2 c 3---] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py ----a 1 b 2 c 3----] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py -----a 1 b 2 c 3-----] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py ------a 1 b 2 c 3------] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py -------a 1 b 2 c 3-------] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py --------a 1 b 2 c 3--------] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py ---------a 1 b 2 c 3---------] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py ----------a 1 b 2 c 3----------] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py '-----------a 1 b 2 c 3-----------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '------------a 1 b 2 c 3------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '-------------a 1 b 2 c 3-------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '--------------a 1 b 2 c 3--------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '---------------a 1 b 2 c 3---------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '----------------a 1 b 2 c 3----------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '-----------------a 1 b 2 c 3-----------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '------------------a 1 b 2 c 3------------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '-------------------a 1 b 2 c 3-------------------'] arg_spids:[27 29])\n(cmd_value.Argv\n argv: [argv.py '--------------------a 1 b 2 c 3--------------------']\n arg_spids: [27 29]\n)\n" stdout: (cmd_value.Argv argv:[argv.py -a 1 b 2 c 3-] arg_spids:[27 29 29 29 29 29 29]) (cmd_value.Argv argv:[argv.py --a 1 b 2 c 3--] arg_spids:[27 29 29 29 29 29 29]) (cmd_value.Argv argv:[argv.py ---a 1 b 2 c 3---] arg_spids:[27 29 29 29 29 29 29]) (cmd_value.Argv argv:[argv.py ----a 1 b 2 c 3----] arg_spids:[27 29 29 29 29 29 29]) (cmd_value.Argv argv:[argv.py -----a 1 b 2 c 3-----] arg_spids:[27 29 29 29 29 29 29]) (cmd_value.Argv argv:[argv.py ------a 1 b 2 c 3------] arg_spids:[27 29 29 29 29 29 29]) (cmd_value.Argv argv:[argv.py -------a 1 b 2 c 3-------] arg_spids:[27 29 29 29 29 29 29]) (cmd_value.Argv argv:[argv.py --------a 1 b 2 c 3--------] arg_spids:[27 29 29 29 29 29 29]) (cmd_value.Argv argv:[argv.py ---------a 1 b 2 c 3---------] arg_spids:[27 29 29 29 29 29 29]) (cmd_value.Argv argv:[argv.py ----------a 1 b 2 c 3----------] arg_spids:[27 29 29 29 29 29 29]) (cmd_value.Argv argv:[argv.py '-----------a 1 b 2 c 3-----------'] arg_spids:[27 29]) (cmd_value.Argv argv:[argv.py '------------a 1 b 2 c 3------------'] arg_spids:[27 29]) (cmd_value.Argv argv:[argv.py '-------------a 1 b 2 c 3-------------'] arg_spids:[27 29]) (cmd_value.Argv argv:[argv.py '--------------a 1 b 2 c 3--------------'] arg_spids:[27 29]) (cmd_value.Argv argv:[argv.py '---------------a 1 b 2 c 3---------------'] arg_spids:[27 29]) (cmd_value.Argv argv:[argv.py '----------------a 1 b 2 c 3----------------'] arg_spids:[27 29]) (cmd_value.Argv argv:[argv.py '-----------------a 1 b 2 c 3-----------------'] arg_spids:[27 29]) (cmd_value.Argv argv:[argv.py '------------------a 1 b 2 c 3------------------'] arg_spids:[27 29]) (cmd_value.Argv argv:[argv.py '-------------------a 1 b 2 c 3-------------------'] arg_spids:[27 29]) (cmd_value.Argv argv: [argv.py '--------------------a 1 b 2 c 3--------------------'] arg_spids: [27 29] )stderr: Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand |
osh_.cc | 17 ${@:offset:length} and ${*:offset:length} [osh_.cc stdout] Expected "['-SHELL', 'a', '1-']\n['-a', '1', 'b', '2-']\n['-c', '3-']\n['--']\n['--']\n['-SHELL', 'a', '1-']\n['-a', '1', 'b', '2-']\n['-c', '3-']\n['--']\n['--']\n['-SHELL a 1-']\n['-a 1 b 2-']\n['-c 3-']\n['--']\n['--']\n['-SHELL', 'a 1-']\n['-a 1', 'b 2-']\n['-c 3-']\n['--']\n['--']\n", got "(cmd_value.Argv argv:[argv.py -a 1 b 2 c 3-] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py --a 1 b 2 c 3--] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py ---a 1 b 2 c 3---] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py ----a 1 b 2 c 3----] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py -----a 1 b 2 c 3-----] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py ------a 1 b 2 c 3------] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py -------a 1 b 2 c 3-------] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py --------a 1 b 2 c 3--------] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py ---------a 1 b 2 c 3---------] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py ----------a 1 b 2 c 3----------] arg_spids:[27 29 29 29 29 29 29])\n(cmd_value.Argv argv:[argv.py '-----------a 1 b 2 c 3-----------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '------------a 1 b 2 c 3------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '-------------a 1 b 2 c 3-------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '--------------a 1 b 2 c 3--------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '---------------a 1 b 2 c 3---------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '----------------a 1 b 2 c 3----------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '-----------------a 1 b 2 c 3-----------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '------------------a 1 b 2 c 3------------------'] arg_spids:[27 29])\n(cmd_value.Argv argv:[argv.py '-------------------a 1 b 2 c 3-------------------'] arg_spids:[27 29])\n(cmd_value.Argv\n argv: [argv.py '--------------------a 1 b 2 c 3--------------------']\n arg_spids: [27 29]\n)\n" stdout: (cmd_value.Argv argv:[argv.py -a 1 b 2 c 3-] arg_spids:[27 29 29 29 29 29 29]) (cmd_value.Argv argv:[argv.py --a 1 b 2 c 3--] arg_spids:[27 29 29 29 29 29 29]) (cmd_value.Argv argv:[argv.py ---a 1 b 2 c 3---] arg_spids:[27 29 29 29 29 29 29]) (cmd_value.Argv argv:[argv.py ----a 1 b 2 c 3----] arg_spids:[27 29 29 29 29 29 29]) (cmd_value.Argv argv:[argv.py -----a 1 b 2 c 3-----] arg_spids:[27 29 29 29 29 29 29]) (cmd_value.Argv argv:[argv.py ------a 1 b 2 c 3------] arg_spids:[27 29 29 29 29 29 29]) (cmd_value.Argv argv:[argv.py -------a 1 b 2 c 3-------] arg_spids:[27 29 29 29 29 29 29]) (cmd_value.Argv argv:[argv.py --------a 1 b 2 c 3--------] arg_spids:[27 29 29 29 29 29 29]) (cmd_value.Argv argv:[argv.py ---------a 1 b 2 c 3---------] arg_spids:[27 29 29 29 29 29 29]) (cmd_value.Argv argv:[argv.py ----------a 1 b 2 c 3----------] arg_spids:[27 29 29 29 29 29 29]) (cmd_value.Argv argv:[argv.py '-----------a 1 b 2 c 3-----------'] arg_spids:[27 29]) (cmd_value.Argv argv:[argv.py '------------a 1 b 2 c 3------------'] arg_spids:[27 29]) (cmd_value.Argv argv:[argv.py '-------------a 1 b 2 c 3-------------'] arg_spids:[27 29]) (cmd_value.Argv argv:[argv.py '--------------a 1 b 2 c 3--------------'] arg_spids:[27 29]) (cmd_value.Argv argv:[argv.py '---------------a 1 b 2 c 3---------------'] arg_spids:[27 29]) (cmd_value.Argv argv:[argv.py '----------------a 1 b 2 c 3----------------'] arg_spids:[27 29]) (cmd_value.Argv argv:[argv.py '-----------------a 1 b 2 c 3-----------------'] arg_spids:[27 29]) (cmd_value.Argv argv:[argv.py '------------------a 1 b 2 c 3------------------'] arg_spids:[27 29]) (cmd_value.Argv argv:[argv.py '-------------------a 1 b 2 c 3-------------------'] arg_spids:[27 29]) (cmd_value.Argv argv: [argv.py '--------------------a 1 b 2 c 3--------------------'] arg_spids: [27 29] )stderr: Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand Unhandled SimpleCommand |
osh_.py | 18 ${@:0:1} [osh_.py stdout] Expected 'SHELL\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 837, in _Dispatch val = self.word_ev.EvalRhsWord(pair.rhs) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1602, in EvalRhsWord return self.EvalWordToString(w) File "/home/andy/git/oilshell/oil/osh/word_eval.py", line 1498, in EvalWordToString self._EvalWordPart(p, part_vals, quoted=False) 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 | 18 ${@:0:1} [osh_.cc stdout] Expected 'SHELL\n', got '\n' stdout: stderr: set 4 |
osh_.cc | 19 ${array[@]::0} [osh_.cc stdout] Expected '[]\n', got '(cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[9 11 11 11])\n' stdout: (cmd_value.Argv argv:[argv.py 1 2 3] arg_spids:[9 11 11 11])stderr: Unhandled SimpleCommand |
osh | 20 ${array[@]::} [osh stdout] Expected '[]\n', got '' [osh status] Expected 0, got 2 stdout: stderr: argv.py ${array[@]::} ^ [ stdin ]:2: Token can't be used in prefix position |
osh_.py | 20 ${array[@]::} [osh_.py stdout] Expected '[]\n', got '' [osh_.py status] Expected 0, got 2 stdout: stderr: argv.py ${array[@]::} ^ [ stdin ]:2: Token can't be used in prefix position |
osh_.cc | 20 ${array[@]::} [osh_.cc stdout] Expected '[]\n', got '' [osh_.cc status] Expected 0, got 2 stdout: stderr: argv.py ${array[@]::} ^ [ stdin ]:2: Token can't be used in prefix position |