blob: d4cae399057d559c80427d12d4dd47d24e688da2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# $FreeBSD: head/bin/sh/tests/builtins/cd7.0 222381 2011-05-27 20:01:46Z jilles $
set -e
cd /usr/bin
[ "$PWD" = /usr/bin ]
CDPATH=/:
cd .
[ "$PWD" = /usr/bin ]
cd ./
[ "$PWD" = /usr/bin ]
cd ..
[ "$PWD" = /usr ]
cd /usr/bin
cd ../
[ "$PWD" = /usr ]
|