]> git.saurik.com Git - apple/shell_cmds.git/blob - sh/tests/builtins/cd6.0
171c996181465897dcd48e18bb5e8fd0ff34dd2a
[apple/shell_cmds.git] / sh / tests / builtins / cd6.0
1 # $FreeBSD: head/bin/sh/tests/builtins/cd6.0 222381 2011-05-27 20:01:46Z jilles $
2
3 set -e
4 cd -P /bin
5 d=$PWD
6 CDPATH=/:
7 cd -P .
8 [ "$d" = "$PWD" ]
9 cd -P ./
10 [ "$d" = "$PWD" ]