spec test index / oilshell.org
status | bash | zsh | osh | |
pass | 12 | 9 | 12 | |
ok | 0 | 3 | 0 | |
total | 12 | 12 | 12 | |
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 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases 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: |