builtin-dirs () { sh-spec spec/builtin-dirs.test.sh $BASH $ZSH $OSH_LIST "$@" } builtin-dirs: spec test case results

Results for builtin-dirs.test.sh

statusbashzshosh
pass 161116
ok 040
BUG 010
total161616
casebashzshoshdescription
0pass ok pass pushd/popd
details
1pass ok pass pushd usage
details
2pass BUG pass popd usage error
details
3pass pass pass popd returns error on empty directory stack
4pass pass pass cd replaces the lowest entry on the directory stack!
5pass pass pass dirs builtin
6pass pass pass dirs -c to clear the stack
7pass ok pass dirs -v to print numbered stack, one entry per line
details
8pass pass pass dirs -p to print one entry per line
9pass pass pass dirs -l to print in long format, no tilde prefix
10pass pass pass dirs to print using tilde-prefix format
11pass pass pass dirs test converting true home directory to tilde
12pass pass pass dirs don't convert to tilde when $HOME is substring
13pass ok pass dirs tilde test when $HOME is exactly $PWD
details
14pass pass pass dirs test of path alias `..`
15pass pass pass dirs test of path alias `.`
43 passed, 4 OK, 0 not implemented, 1 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

zsh0 pushd/popd

stdout:
pwd=/tmp
pwd=/
stderr:
zsh1 pushd usage

stdout:
status=1
status=0
status=0
stderr:
pushd: no such file or directory: -z
zsh2 popd usage error

stdout:
status=0
status=0
status=0
stderr:
zsh7 dirs -v to print numbered stack, one entry per line

stdout:
--
0	/tmp
1	/
--
0	/dev
1	/tmp
2	/
stderr:
zsh13 dirs tilde test when $HOME is exactly $PWD

stdout:
~ /
stderr: