summaryrefslogtreecommitdiff
path: root/tests/builtins1.sub
blob: 52185b54f99e9879fe74a5e80874817b1eebc096 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
unset CDPATH

MYDIR=$(pwd -P)
FULLDIR=/tmp/bash-dir-a
DIR=${FULLDIR##*/}

mkdir $FULLDIR
CDPATH=.:/tmp
cd $DIR
pwd
echo $PWD

cd "$MYDIR"
rmdir $FULLDIR