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