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