spec test index / oilshell.org
status | dash | bash | mksh | zsh | osh | |
pass | 4 | 9 | 9 | 8 | 12 | |
ok | 1 | 1 | 1 | 0 | 0 | |
N-I | 5 | 0 | 1 | 3 | 0 | |
BUG | 2 | 2 | 1 | 1 | 0 | |
total | 12 | 12 | 12 | 12 | 12 | |
case | dash | bash | mksh | zsh | osh | description |
0 | ok | pass | pass | pass | pass | command -v |
details | ||||||
1 | BUG | BUG | ok | pass | pass | command -v with multiple names |
details | details | details | ||||
2 | BUG | BUG | pass | pass | pass | command -v doesn't find non-executable file |
details | details | |||||
3 | pass | pass | pass | pass | pass | command skips function lookup |
4 | pass | pass | pass | N-I | pass | command command seq 3 |
details | ||||||
5 | pass | pass | pass | N-I | pass | command command -v seq |
details | ||||||
6 | N-I | ok | BUG | BUG | pass | history usage |
details | details | details | details | |||
7 | pass | pass | N-I | N-I | pass | $(command type ls) |
details | details | |||||
8 | N-I | pass | pass | pass | pass | builtin |
details | ||||||
9 | N-I | pass | pass | pass | pass | builtin ls not found |
details | ||||||
10 | N-I | pass | pass | pass | pass | builtin no args |
details | ||||||
11 | N-I | pass | pass | pass | pass | builtin command echo hi |
details |
42 passed, 3 OK, 9 not implemented, 6 BUG, 0 failed, 0 timeouts, 0 cases skipped
dash | 0 command -v stdout: echo 0 myfunc 0 127 for 0stderr: |
dash | 1 command -v with multiple names stdout: echo status=0stderr: |
bash | 1 command -v with multiple names stdout: echo myfunc for status=0stderr: |
mksh | 1 command -v with multiple names stdout: echo myfunc status=1stderr: |
dash | 2 command -v doesn't find non-executable file stdout: /non-executable status=0 /executable status=0stderr: |
bash | 2 command -v doesn't find non-executable file stdout: /non-executable status=0 /executable status=0stderr: |
zsh | 4 command command seq 3 stdout: stderr: zsh: command not found: command |
zsh | 5 command command -v seq stdout: stderr: zsh: command not found: command |
dash | 6 history usage stdout: status=127 status=127 status=127 status=127 status=127stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: history: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 3: history: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 5: history: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 7: history: not found /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 9: history: not found |
bash | 6 history usage stdout: status=0 status=0 status=2 status=1 status=1stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 5: history: -5: invalid option history: usage: history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg [arg...] /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 7: history: f: numeric argument required /home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 9: history: too: numeric argument required |
mksh | 6 history usage stdout: status=1 status=1 status=1 status=1 status=1stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: fc: history functions not available /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[3]: fc: history functions not available /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[5]: fc: history functions not available /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[7]: fc: history functions not available /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[9]: fc: history functions not available |
zsh | 6 history usage stdout: status=1 status=1 status=1 status=1 status=1stderr: fc: no such event: 1 fc: no such event: 5 fc: no such event: 0 fc: event not found: f fc: event not found: too |
mksh | 7 $(command type ls) stdout: status=1stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/mksh: <stdin>[3]: type: not found |
zsh | 7 $(command type ls) stdout: FUNCTION status=1stderr: zsh: command not found: type |
dash | 8 builtin stdout: histderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 3: builtin: not found |
dash | 9 builtin ls not found stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: builtin: not found |
dash | 10 builtin no args stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: builtin: not found |
dash | 11 builtin command echo hi stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: builtin: not found |