spec test index / oilshell.org
| status | bash | zsh | osh | osh_ALT | |
| pass | 15 | 10 | 15 | 15 | |
| ok | 0 | 4 | 0 | 0 | |
| BUG | 0 | 1 | 0 | 0 | |
| total | 15 | 15 | 15 | 15 | |
| case | bash | zsh | osh | osh_ALT | description |
| 0 | pass | ok | pass | pass | pushd/popd |
| details | |||||
| 1 | pass | ok | pass | pass | pushd usage |
| details | |||||
| 2 | pass | BUG | pass | pass | popd usage error |
| details | |||||
| 3 | pass | pass | pass | pass | popd returns error on empty directory stack |
| 4 | pass | pass | pass | pass | dirs builtin |
| 5 | pass | pass | pass | pass | dirs -c to clear the stack |
| 6 | pass | ok | pass | pass | dirs -v to print numbered stack, one entry per line |
| details | |||||
| 7 | pass | pass | pass | pass | dirs -p to print one entry per line |
| 8 | pass | pass | pass | pass | dirs -l to print in long format, no tilde prefix |
| 9 | pass | pass | pass | pass | dirs to print using tilde-prefix format |
| 10 | pass | pass | pass | pass | dirs test converting true home directory to tilde |
| 11 | pass | pass | pass | pass | dirs don't convert to tilde when $HOME is substring |
| 12 | pass | ok | pass | pass | dirs tilde test when $HOME is exactly $PWD |
| details | |||||
| 13 | pass | pass | pass | pass | dirs test of path alias `..` |
| 14 | pass | pass | pass | pass | dirs test of path alias `.` |
55 passed, 4 OK, 0 not implemented, 1 BUG, 0 failed, 0 timeouts, 0 cases skipped
| zsh | 0 pushd/popd stdout: pwd=/tmp pwd=/stderr: |
| zsh | 1 pushd usage stdout: status=1 status=0 status=0stderr: pushd: no such file or directory: -z |
| zsh | 2 popd usage error stdout: status=0 status=0 status=0stderr: |
| zsh | 6 dirs -v to print numbered stack, one entry per line stdout: -- 0 /tmp 1 / -- 0 /dev 1 /tmp 2 /stderr: |
| zsh | 12 dirs tilde test when $HOME is exactly $PWD stdout: ~ /stderr: |