comparison tests/test-template-map.t @ 46092:08fd76a553c9

run-tests: configure the environment to expand `~` properly with Windows py38+ This was causing tests to point to the actual home path on the system, not the test defined one. Differential Revision: https://phab.mercurial-scm.org/D9558
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 09 Dec 2020 15:50:59 -0500
parents b2a743c3abbb
children f51ff655d338
comparison
equal deleted inserted replaced
46091:af3a6900f893 46092:08fd76a553c9
1970 $ cat > home/styles/teststyle <<EOF 1970 $ cat > home/styles/teststyle <<EOF
1971 > changeset = 'test {rev}:{node|short}\n' 1971 > changeset = 'test {rev}:{node|short}\n'
1972 > EOF 1972 > EOF
1973 1973
1974 $ HOME=`pwd`/home; export HOME 1974 $ HOME=`pwd`/home; export HOME
1975 $ USERPROFILE=`pwd`/home; export USERPROFILE
1975 1976
1976 $ cat > latesttag/.hg/hgrc <<EOF 1977 $ cat > latesttag/.hg/hgrc <<EOF
1977 > [ui] 1978 > [ui]
1978 > style = ~/styles/teststyle 1979 > style = ~/styles/teststyle
1979 > EOF 1980 > EOF