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