xref: /freebsd/bin/sh/tests/builtins/cd7.0 (revision eb69d1f144a6fcc765d1b9d44a5ae8082353e70b)
1# $FreeBSD$
2
3set -e
4cd /usr/bin
5[ "$PWD" = /usr/bin ]
6CDPATH=/:
7cd .
8[ "$PWD" = /usr/bin ]
9cd ./
10[ "$PWD" = /usr/bin ]
11cd ..
12[ "$PWD" = /usr ]
13cd /usr/bin
14cd ../
15[ "$PWD" = /usr ]
16