xref: /freebsd/bin/sh/tests/builtins/cd6.0 (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1
2set -e
3cd -P /bin
4d=$PWD
5CDPATH=/:
6cd -P .
7[ "$d" = "$PWD" ]
8cd -P ./
9[ "$d" = "$PWD" ]
10