spec test index / oilshell.org
status | dash | bash | mksh | zsh | osh | |
pass | 14 | 19 | 17 | 16 | 20 | |
ok | 1 | 1 | 1 | 0 | 0 | |
N-I | 6 | 0 | 3 | 3 | 1 | |
BUG | 0 | 1 | 0 | 2 | 0 | |
total | 21 | 21 | 21 | 21 | 21 | |
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 | N-I | |& |
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 | |||||
20 | N-I | BUG | pass | N-I | pass | SIGPIPE causes pipeline to die (regression for issue #295) |
details | details | details |
86 passed, 3 OK, 13 not implemented, 3 BUG, 0 failed, 0 timeouts, 0 cases skipped
zsh | 3 Redirect in Pipeline stdout: 1stderr: hi |
dash | 6 PIPESTATUS stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 5: Bad substitution |
zsh | 6 PIPESTATUS stdout: stderr: |
dash | 7 PIPESTATUS with shopt -s lastpipe stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: shopt: not found /home/andy/git/oilshell/oil/_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: /home/andy/git/oilshell/oil/_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 |& stdout: stderr: stdout_stderr.py |& cat ^~ [ stdin ]:1: fatal: |& isn't supported |
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: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: shopt: not found |
mksh | 18 shopt -s lastpipe (always on in OSH) stdout: line=stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: shopt: not found |
dash | 19 shopt -s lastpipe (always on in OSH) stdout: i=0stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: shopt: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 4: i++: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 4: i++: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 4: i++: not found |
mksh | 19 shopt -s lastpipe (always on in OSH) stdout: i=0stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[1]: shopt: not found |
dash | 20 SIGPIPE causes pipeline to die (regression for issue #295) stdout: stderr: cat: write error: Broken pipe /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 2: Bad substitution |
bash | 20 SIGPIPE causes pipeline to die (regression for issue #295) stdout: 1 0stderr: cat: write error: Broken pipe |
zsh | 20 SIGPIPE causes pipeline to die (regression for issue #295) stdout: stderr: cat: write error: Broken pipe |