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