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