xref: /freebsd/bin/sh/tests/builtins/cd7.0 (revision a64729f5077d77e13b9497cb33ecb3c82e606ee8)
1
2set -e
3cd /usr/bin
4[ "$PWD" = /usr/bin ]
5CDPATH=/:
6cd .
7[ "$PWD" = /usr/bin ]
8cd ./
9[ "$PWD" = /usr/bin ]
10cd ..
11[ "$PWD" = /usr ]
12cd /usr/bin
13cd ../
14[ "$PWD" = /usr ]
15