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