spec test index / oilshell.org
| case | bash | zsh | osh | description |
| 0 | pass | ok | pass | pushd/popd |
| details | ||||
| 1 | pass | pass | pass | dirs builtin |
| 2 | pass | pass | pass | dirs -c to clear the stack |
| 3 | pass | ok | pass | dirs -v to print numbered stack, one entry per line |
| details | ||||
| 4 | pass | pass | pass | dirs -p to print one entry per line |
| 5 | pass | pass | pass | dirs -l to print in long format, no tilde prefix |
| 6 | pass | pass | pass | dirs to print using tilde-prefix format |
| 7 | pass | pass | pass | dirs test converting true home directory to tilde |
| 8 | pass | pass | pass | dirs don't convert to tilde when $HOME is substring |
| 9 | pass | ok | pass | dirs tilde test when $HOME is exactly $PWD |
| details | ||||
| 10 | pass | pass | pass | dirs test of path alias `..` |
| 11 | pass | pass | pass | dirs test of path alias `.` |
33 passed, 3 ok, 0 known unimplemented, 0 known bugs, 0 failed, 0 skipped
| zsh | 0 pushd/popd stdout: pwd=/tmp pwd=/stderr: |
| zsh | 3 dirs -v to print numbered stack, one entry per line stdout: -- 0 /tmp 1 / -- 0 /lib 1 /tmp 2 /stderr: |
| zsh | 9 dirs tilde test when $HOME is exactly $PWD stdout: ~ /stderr: |