summary refs log tree commit diff
path: root/bin/cash/tests/builtins/cd6.0
blob: 34c8955a9c8ee1720562663c754a9d70eab91121 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# $FreeBSD: releng/12.0/bin/sh/tests/builtins/cd6.0 222381 2011-05-27 20:01:46Z jilles $

set -e
cd -P /bin
d=$PWD
CDPATH=/:
cd -P .
[ "$d" = "$PWD" ]
cd -P ./
[ "$d" = "$PWD" ]