spec test index / oilshell.org
case | dash | bash | mksh | zsh | osh | description |
0 | pass | pass | pass | pass | pass | Brace group in pipeline |
1 | pass | pass | pass | pass | pass | For loop starts pipeline |
2 | pass | pass | pass | pass | pass | While Loop ends pipeline |
3 | pass | pass | pass | BUG | pass | Redirect in Pipeline |
details | ||||||
4 | pass | pass | pass | pass | pass | Pipeline comments |
5 | pass | pass | pass | pass | pass | Exit code is last status |
6 | N-I | pass | pass | N-I | pass | PIPESTATUS |
details | details | |||||
7 | N-I | pass | pass | N-I | pass | PIPESTATUS with shopt -s lastpipe |
details | details | |||||
8 | N-I | pass | N-I | pass | FAIL | |& |
details | details | details | ||||
9 | pass | pass | pass | pass | pass | ! turns non-zero into zero |
10 | pass | pass | pass | pass | pass | ! turns zero into 1 |
11 | pass | pass | pass | pass | pass | ! in if |
12 | pass | pass | pass | pass | pass | ! with || |
13 | pass | pass | pass | pass | pass | ! with { } |
14 | pass | pass | pass | pass | pass | ! with ( ) |
15 | pass | pass | pass | pass | pass | ! is not a command |
16 | pass | pass | pass | BUG | pass | Evaluation of argv[0] in pipeline occurs in child |
details | ||||||
17 | ok | ok | ok | pass | pass | bash/dash/mksh run the last command is run in its own process |
details | details | details | ||||
18 | N-I | pass | N-I | pass | pass | shopt -s lastpipe (always on in OSH) |
details | details | |||||
19 | N-I | pass | N-I | pass | pass | shopt -s lastpipe (always on in OSH) |
details | details |
84 passed, 3 ok, 10 known unimplemented, 2 known bugs, 1 failed, 0 skipped
zsh | 3 Redirect in Pipeline stdout: 1stderr: hi |
dash | 6 PIPESTATUS stdout: stderr: _tmp/spec-bin/dash: 5: Bad substitution |
zsh | 6 PIPESTATUS stdout: stderr: |
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 |
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 778, in <module> main(sys.argv) File "/home/andy/git/oilshell/oil/bin/oil.py", line 747, in main sys.exit(AppBundleMain(argv)) File "/home/andy/git/oilshell/oil/bin/oil.py", line 721, in AppBundleMain status = ShellMain('osh', argv0, main_argv, login_shell) File "/home/andy/git/oilshell/oil/bin/oil.py", line 542, 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 160, in Batch is_control_flow, is_fatal = ex.ExecuteAndCatch(node) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1240, in ExecuteAndCatch status = self._Execute(node, fork_external=fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 1188, in _Execute status, check_errexit = self._Dispatch(node, fork_external) File "/home/andy/git/oilshell/oil/osh/cmd_exec.py", line 763, in _Dispatch raise NotImplementedError('|&') NotImplementedError: |& |
zsh | 16 Evaluation of argv[0] in pipeline occurs in child stdout: 1 cmd=echostderr: |
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: |
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 |
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 |