spec test index / oilshell.org
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 | pass | pass | pass | pass | pass | command skips function lookup |
3 | pass | pass | pass | N-I | pass | command command seq 3 |
details | ||||||
4 | pass | pass | pass | N-I | pass | command command -v seq |
details | ||||||
5 | N-I | ok | BUG | BUG | pass | history usage |
details | details | details | details | |||
6 | pass | pass | N-I | N-I | pass | $(command type ls) |
details | details | |||||
7 | N-I | pass | pass | pass | pass | builtin |
details | ||||||
8 | N-I | pass | pass | pass | pass | builtin ls not found |
details | ||||||
9 | N-I | pass | pass | pass | pass | builtin no args |
details | ||||||
10 | N-I | pass | pass | pass | pass | builtin command echo hi |
details |
39 passed, 3 ok, 9 known unimplemented, 4 known bugs, 0 failed, 0 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: |
zsh | 3 command command seq 3 stdout: stderr: zsh: command not found: command |
zsh | 4 command command -v seq stdout: stderr: zsh: command not found: command |
dash | 5 history usage stdout: status=127 status=127 status=127 status=127 status=127stderr: _tmp/spec-bin/dash: 1: history: not found _tmp/spec-bin/dash: 3: history: not found _tmp/spec-bin/dash: 5: history: not found _tmp/spec-bin/dash: 7: history: not found _tmp/spec-bin/dash: 9: history: not found |
bash | 5 history usage stdout: status=0 status=0 status=2 status=1 status=1stderr: _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...] _tmp/spec-bin/bash: line 7: history: f: numeric argument required _tmp/spec-bin/bash: line 9: history: too: numeric argument required |
mksh | 5 history usage stdout: status=1 status=1 status=1 status=1 status=1stderr: _tmp/spec-bin/mksh: fc: history functions not available _tmp/spec-bin/mksh: <stdin>[3]: fc: history functions not available _tmp/spec-bin/mksh: <stdin>[5]: fc: history functions not available _tmp/spec-bin/mksh: <stdin>[7]: fc: history functions not available _tmp/spec-bin/mksh: <stdin>[9]: fc: history functions not available |
zsh | 5 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 | 6 $(command type ls) stdout: status=1stderr: _tmp/spec-bin/mksh: <stdin>[3]: type: not found |
zsh | 6 $(command type ls) stdout: FUNCTION status=1stderr: zsh: command not found: type |
dash | 7 builtin stdout: histderr: _tmp/spec-bin/dash: 3: builtin: not found |
dash | 8 builtin ls not found stdout: stderr: _tmp/spec-bin/dash: 1: builtin: not found |
dash | 9 builtin no args stdout: stderr: _tmp/spec-bin/dash: 1: builtin: not found |
dash | 10 builtin command echo hi stdout: stderr: _tmp/spec-bin/dash: 1: builtin: not found |