spec test index / oilshell.org
case | dash | bash | mksh | zsh | osh | osh_ALT | osh-byterun | description |
0 | pass | pass | pass | pass | pass | pass | FAIL | Brace group in pipeline |
details | ||||||||
1 | pass | pass | pass | pass | pass | pass | FAIL | For loop starts pipeline |
details | ||||||||
2 | pass | pass | pass | pass | pass | pass | FAIL | While Loop ends pipeline |
details | ||||||||
3 | pass | pass | pass | BUG | pass | pass | FAIL | Redirect in Pipeline |
details | details | |||||||
4 | pass | pass | pass | pass | pass | pass | FAIL | Pipeline comments |
details | ||||||||
5 | pass | pass | pass | pass | pass | pass | pass | Exit code is last status |
6 | N-I | pass | pass | N-I | pass | pass | FAIL | PIPESTATUS |
details | details | details | ||||||
7 | N-I | pass | pass | N-I | pass | pass | FAIL | PIPESTATUS with shopt -s lastpipe |
details | details | details | ||||||
8 | N-I | pass | N-I | pass | FAIL | FAIL | FAIL | |& |
details | details | details | details | details | ||||
9 | pass | pass | pass | pass | pass | pass | FAIL | ! turns non-zero into zero |
details | ||||||||
10 | pass | pass | pass | pass | pass | pass | FAIL | ! turns zero into 1 |
details | ||||||||
11 | pass | pass | pass | pass | pass | pass | FAIL | ! in if |
details | ||||||||
12 | pass | pass | pass | pass | pass | pass | FAIL | ! with || |
details | ||||||||
13 | pass | pass | pass | pass | pass | pass | FAIL | ! with { } |
details | ||||||||
14 | pass | pass | pass | pass | pass | pass | FAIL | ! with ( ) |
details | ||||||||
15 | pass | pass | pass | pass | pass | pass | FAIL | ! is not a command |
details | ||||||||
16 | pass | pass | pass | BUG | pass | pass | FAIL | Evaluation of argv[0] in pipeline occurs in child |
details | details | |||||||
17 | ok | ok | ok | pass | pass | pass | FAIL | bash/dash/mksh run the last command is run in its own process |
details | details | details | details | |||||
18 | N-I | pass | N-I | pass | pass | pass | FAIL | shopt -s lastpipe (always on in OSH) |
details | details | details | ||||||
19 | N-I | pass | N-I | pass | pass | pass | FAIL | shopt -s lastpipe (always on in OSH) |
details | details | details |
104 passed, 3 ok, 10 known unimplemented, 2 known bugs, 1 failed, 0 skipped
osh-byterun | 0 Brace group in pipeline [osh-byterun stdout] Expected u'two\none\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 1 For loop starts pipeline [osh-byterun stdout] Expected u'two\none\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 2 While Loop ends pipeline [osh-byterun stdout] Expected u'.1\n.2\n.3\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
zsh | 3 Redirect in Pipeline stdout: 1stderr: hi |
osh-byterun | 3 Redirect in Pipeline [osh-byterun stdout] Expected '0\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 4 Pipeline comments [osh-byterun stdout] Expected 'ABCD\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
dash | 6 PIPESTATUS stdout: stderr: _tmp/spec-bin/dash: 5: Bad substitution |
zsh | 6 PIPESTATUS stdout: stderr: |
osh-byterun | 6 PIPESTATUS [osh-byterun stdout] Expected '1 2 3\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
dash | 7 PIPESTATUS with shopt -s lastpipe stdout: stderr: _tmp/spec-bin/dash: 1: shopt: not found _tmp/spec-bin/dash: 6: Bad substitution |
zsh | 7 PIPESTATUS with shopt -s lastpipe stdout: stderr: zsh: command not found: shopt |
osh-byterun | 7 PIPESTATUS with shopt -s lastpipe [osh-byterun stdout] Expected '1 2 3\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
dash | 8 |& stdout: stderr: _tmp/spec-bin/dash: 1: Syntax error: "&" unexpected |
mksh | 8 |& stdout: stderr: STDERR close failed in file object destructor: sys.excepthook is missing lost sys.stderr |
osh | 8 |& [osh stdout] Expected u'STDERR\nSTDOUT\n', got '' [osh status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 783, in <module> main(sys.argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 752, in main sys.exit(AppBundleMain(argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 726, in AppBundleMain status = ShellMain('osh', argv0, main_argv, login_shell) File "/home/andy/git/oilshell/oil/bin/oil.py", line 558, in ShellMain status = main_loop.Batch(ex, c_parser, arena, nodes_out=nodes_out) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 162, in Batch is_control_flow, is_fatal = ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1236, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1184, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 758, in _Dispatch raise NotImplementedError('|&') NotImplementedError: |& |
osh_ALT | 8 |& [osh_ALT stdout] Expected u'STDERR\nSTDOUT\n', got '' [osh_ALT status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/oil.py", line 770, in _cpython_main_hook main(sys.argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 752, in main sys.exit(AppBundleMain(argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 745, in AppBundleMain return readlink.main(main_argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 558, in ShellMain status = main_loop.Batch(ex, c_parser, arena, nodes_out=nodes_out) File "/home/andy/git/oilshell/oil/core/main_loop.py", line 169, in Batch return ex.LastStatus() File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1236, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1184, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1129, in _Dispatch libc.print_time(real, user, sys_) NotImplementedError: |& FATAL: couldn't import from app bundle '_tmp/oil-tar-test/oil-0.6.pre17/_bin/osh' (1) Stripping the oil.ovm binary may cause this error. See https://github.com/oilshell/oil/issues/47 |
osh-byterun | 8 |& [osh-byterun stdout] Expected u'STDERR\nSTDOUT\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 9 ! turns non-zero into zero [osh-byterun stdout] Expected '0\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 10 ! turns zero into 1 [osh-byterun stdout] Expected '1\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 11 ! in if [osh-byterun stdout] Expected u'hi\nFALSE\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 12 ! with || [osh-byterun stdout] Expected u'hi\nFAILED\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 13 ! with { } [osh-byterun stdout] Expected u'1\n2\nFAILED\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 14 ! with ( ) [osh-byterun stdout] Expected u'1\n2\nFAILED\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 15 ! is not a command [osh-byterun status] Expected 127, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
zsh | 16 Evaluation of argv[0] in pipeline occurs in child stdout: 1 cmd=echostderr: |
osh-byterun | 16 Evaluation of argv[0] in pipeline occurs in child [osh-byterun stdout] Expected '1\ncmd=\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
dash | 17 bash/dash/mksh run the last command is run in its own process stdout: line=stderr: |
bash | 17 bash/dash/mksh run the last command is run in its own process stdout: line=stderr: |
mksh | 17 bash/dash/mksh run the last command is run in its own process stdout: line=stderr: |
osh-byterun | 17 bash/dash/mksh run the last command is run in its own process [osh-byterun stdout] Expected 'line=hi\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
dash | 18 shopt -s lastpipe (always on in OSH) stdout: line=stderr: _tmp/spec-bin/dash: 1: shopt: not found |
mksh | 18 shopt -s lastpipe (always on in OSH) stdout: line=stderr: _tmp/spec-bin/mksh: <stdin>[1]: shopt: not found |
osh-byterun | 18 shopt -s lastpipe (always on in OSH) [osh-byterun stdout] Expected 'line=hi\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
dash | 19 shopt -s lastpipe (always on in OSH) stdout: i=0stderr: _tmp/spec-bin/dash: 1: shopt: not found _tmp/spec-bin/dash: 4: i++: not found _tmp/spec-bin/dash: 4: i++: not found _tmp/spec-bin/dash: 4: i++: not found |
mksh | 19 shopt -s lastpipe (always on in OSH) stdout: i=0stderr: _tmp/spec-bin/mksh: <stdin>[1]: shopt: not found |
osh-byterun | 19 shopt -s lastpipe (always on in OSH) [osh-byterun stdout] Expected 'i=3\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |