Fix non-empty $CDPATH causing failed tests.
If CDPATH contains '.', every cd command prints the target path,
which causes additional output in tests and makes them fail.
#!/bin/sh
cat >> $HGRCPATH <<EOF
[extensions]
alias=
[alias]
myinit = init
cleanstatus = status -c
unknown = bargle
ambiguous = s
recursive = recursive
EOF
echo '% basic'
hg myinit alias
echo '% unknown'
hg unknown
echo '% ambiguous'
hg ambiguous
echo '% recursive'
hg recursive
cd alias
echo foo > foo
hg ci -Amfoo
echo '% with opts'
hg cleanst