spec test index / oilshell.org
| case | dash | bash | mksh | zsh | osh | osh_ALT | description |
| 0 | ok | pass | pass | pass | pass | pass | command -v |
| details | |||||||
| 1 | BUG | BUG | ok | pass | pass | pass | command -v with multiple names |
| details | details | details | |||||
| 2 | N-I | pass | N-I | pass | pass | pass | dirs builtin |
| details | details | ||||||
| 3 | N-I | pass | N-I | pass | pass | pass | dirs -c to clear the stack |
| details | details | ||||||
| 4 | N-I | pass | N-I | ok | pass | pass | dirs -v to print numbered stack, one entry per line |
| details | details | details | |||||
| 5 | N-I | pass | N-I | pass | pass | pass | dirs -p to print one entry per line |
| details | details |
23 passed, 3 ok, 8 known unimplemented, 2 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: |
| dash | 2 dirs builtin stdout: stderr: /bin/dash: 2: dirs: not found |
| mksh | 2 dirs builtin stdout: stderr: /bin/mksh: <stdin>[2]: dirs: not found |
| dash | 3 dirs -c to clear the stack stdout: stderr: /bin/dash: 2: pushd: not found /bin/dash: 3: dirs: not found /bin/dash: 4: dirs: not found /bin/dash: 5: dirs: not found |
| mksh | 3 dirs -c to clear the stack stdout: stderr: /bin/mksh: <stdin>[2]: pushd: not found /bin/mksh: <stdin>[3]: dirs: not found /bin/mksh: <stdin>[4]: dirs: not found /bin/mksh: <stdin>[5]: dirs: not found |
| dash | 4 dirs -v to print numbered stack, one entry per line stdout: stderr: /bin/dash: 2: pushd: not found /bin/dash: 3: dirs: not found /bin/dash: 4: pushd: not found /bin/dash: 5: dirs: not found |
| mksh | 4 dirs -v to print numbered stack, one entry per line stdout: stderr: /bin/mksh: <stdin>[2]: pushd: not found /bin/mksh: <stdin>[3]: dirs: not found /bin/mksh: <stdin>[4]: pushd: not found /bin/mksh: <stdin>[5]: dirs: not found |
| zsh | 4 dirs -v to print numbered stack, one entry per line stdout: 0 /tmp 1 / 0 /lib 1 /tmp 2 /stderr: |
| dash | 5 dirs -p to print one entry per line stdout: stderr: /bin/dash: 2: pushd: not found /bin/dash: 3: dirs: not found /bin/dash: 4: pushd: not found /bin/dash: 5: dirs: not found |
| mksh | 5 dirs -p to print one entry per line stdout: stderr: /bin/mksh: <stdin>[2]: pushd: not found /bin/mksh: <stdin>[3]: dirs: not found /bin/mksh: <stdin>[4]: pushd: not found /bin/mksh: <stdin>[5]: dirs: not found |