Mercurial > public > mercurial-scm > hg-stable
diff tests/test-https.t @ 13231:b335882c2f21 stable
url: expand path for web.cacerts
author | Eduard-Cristian Stefan <alexandrul.ct@gmail.com> |
---|---|
date | Sun, 02 Jan 2011 15:30:12 +0200 |
parents | 4d03707916d3 |
children | 8dc488dfcdb4 |
line wrap: on
line diff
--- a/tests/test-https.t Wed Jan 05 10:47:35 2011 +0100 +++ b/tests/test-https.t Sun Jan 02 15:30:12 2011 +0200 @@ -154,11 +154,12 @@ no changes found $ mv copy-pull/.hg/hgrc.bu copy-pull/.hg/hgrc -cacert configured globally +cacert configured globally, also testing expansion of environment +variables in the filename $ echo "[web]" >> $HGRCPATH - $ echo "cacerts=`pwd`/pub.pem" >> $HGRCPATH - $ hg -R copy-pull pull + $ echo 'cacerts=$P/pub.pem' >> $HGRCPATH + $ P=`pwd` hg -R copy-pull pull pulling from https://localhost:$HGPORT/ searching for changes no changes found