spec test index / oilshell.org
66 passed, 0 OK, 0 not implemented, 0 BUG, 27 failed, 0 timeouts, 0 cases skipped 6 failed under osh
osh_.cc | 1 $PWD is not only set, but exported [osh_.cc status] Expected 0, got 1 stdout: stderr: |
osh_.cc | 3 $HOME is NOT set [osh_.cc stdout] Expected 'status=0\nstatus=1\nstatus=1\n', got 'status=1\nstatus=1\nstatus=1\n' stdout: status=1 status=1 status=1stderr: terminate called after throwing an instance of 'NotImplementedError*' |
osh_.py | 4 $1 .. $9 are scoped, while $0 is not [osh_.py stdout] Expected 'sh a b\n', got 'sh_eval.py a b\n' stdout: sh_eval.py a bstderr: |
osh_.cc | 4 $1 .. $9 are scoped, while $0 is not [osh_.cc stdout] Expected 'sh a b\n', got 'sh_eval.stripped a b\n' stdout: sh_eval.stripped a bstderr: |
osh | 7 $_ [osh stdout] Expected u'hi\nhi\n', got 'hi\n\n' stdout: histderr: |
osh_.py | 7 $_ [osh_.py stdout] Expected u'hi\nhi\n', got 'hi\n\n' stdout: histderr: |
osh_.cc | 7 $_ [osh_.cc stdout] Expected u'hi\nhi\n', got 'hi\n\n' stdout: histderr: |
osh_.py | 11 Background PID $! looks like a PID [osh_.py stdout] Expected 'status=0\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 66, in <module> sys.exit(main(sys.argv)) File "/home/andy/git/oilshell/oil/bin/osh_eval.py", line 34, in main None) File "/home/andy/git/oilshell/oil/core/shell_native.py", line 486, in Main cmd_flags=cmd_eval.IsMainProgram) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 332, 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 1643, in ExecuteAndCatch status = self._Execute(node) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 1481, in _Execute status = self._Dispatch(node, cmd_st) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 709, in _Dispatch status = self._RunSimpleCommand(cmd_val, cmd_st, node.do_fork) File "/home/andy/git/oilshell/oil/osh/cmd_eval.py", line 548, in _RunSimpleCommand return self.shell_ex.RunSimpleCommand(cmd_val, cmd_st, do_fork) File "/home/andy/git/oilshell/oil/core/executor.py", line 242, in RunSimpleCommand return self.RunBuiltin(builtin_id, cmd_val) File "/home/andy/git/oilshell/oil/core/executor.py", line 129, in RunBuiltin builtin_func = self.builtins[builtin_id] KeyError: 33 |
osh_.cc | 11 Background PID $! looks like a PID [osh_.cc stdout] Expected 'status=0\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: terminate called after throwing an instance of 'KeyError*' timeout: the monitored command dumped core |
osh_.cc | 13 $PIPESTATUS [osh_.cc stdout] Expected "['0', '33', '0']\n", got '[]\n' stdout: []stderr: |
osh | 14 $RANDOM [osh status] Expected 0, got 1 stdout: 0stderr: |
osh_.py | 14 $RANDOM [osh_.py status] Expected 0, got 1 stdout: 0stderr: |
osh_.cc | 14 $RANDOM [osh_.cc status] Expected 0, got 1 stdout: 0stderr: |
osh | 25 $LINENO in for (( loop [osh stdout] Expected 'one\n0\n1\n', got 'one\n0\n1\n2\n' stdout: one 0 1 2stderr: |
osh_.py | 25 $LINENO in for (( loop [osh_.py stdout] Expected 'one\n0\n1\n', got 'one\n0\n1\n2\n' stdout: one 0 1 2stderr: |
osh_.cc | 25 $LINENO in for (( loop [osh_.cc stdout] Expected 'one\n0\n1\n', got 'one\n0\n1\n2\n' stdout: one 0 1 2stderr: |
osh | 27 $_ [osh stdout] Expected '1\nfoobar\n', got '\n\n' stdout: stderr: |
osh_.py | 27 $_ [osh_.py stdout] Expected '1\nfoobar\n', got '\n\n' stdout: stderr: |
osh_.cc | 27 $_ [osh_.cc stdout] Expected '1\nfoobar\n', got '\n\n' stdout: stderr: |
osh | 28 $_ with assignments, arrays, etc. [osh stdout] Expected 'foo\ns:\ns:s=bar\na:\na:a\nflag:a\n', got '\ns:\ns:\na:\na:\nflag:\n' stdout: s: s: a: a: flag:stderr: |
osh_.py | 28 $_ with assignments, arrays, etc. [osh_.py stdout] Expected 'foo\ns:\ns:s=bar\na:\na:a\nflag:a\n', got '\ns:\ns:\na:\na:\nflag:\n' stdout: s: s: a: a: flag:stderr: |
osh_.cc | 28 $_ with assignments, arrays, etc. [osh_.cc stdout] Expected 'foo\ns:\ns:s=bar\na:\na:a\nflag:a\n', got '\ns:\ns:\na:\na:\nflag:\n' stdout: s: s: a: a: flag:stderr: |
osh | 29 $_ undefined [osh stdout] Expected 'nonempty=0\n', got '' [osh status] Expected 0, got 1 stdout: stderr: echo $_ ^~ [ -c flag ]:1: fatal: Undefined variable '_' |
osh_.py | 29 $_ undefined [osh_.py stdout] Expected 'nonempty=0\n', got '' [osh_.py status] Expected 0, got 1 stdout: stderr: echo $_ ^~ [ -c flag ]:1: fatal: Undefined variable '_' |
osh_.cc | 29 $_ undefined [osh_.cc stdout] Expected 'nonempty=0\n', got '' [osh_.cc status] Expected 0, got 1 stdout: stderr: echo $_ ^~~~ [ -c flag ]:1: fatal: Undefined variable '_' |
osh_.py | 30 BASH_VERSION / OIL_VERSION [osh_.py stdout] Expected 'matched=0\n', got 'no version\n' stdout: no versionstderr: |
osh_.cc | 30 BASH_VERSION / OIL_VERSION [osh_.cc stdout] Expected 'matched=0\n', got 'no version\n' stdout: no versionstderr: |