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