changeset 1694:5fb7f37b82e6

test: rename TOPICROOT to HGTEST_TOPICROOT Mercurial is about to introduce whitelisting of environment variable, we comply to the planned prefix in advance in a hope to stay compatible in the future.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Thu, 05 May 2016 21:54:26 +0200
parents 73acbc623830
children 77df6101d3b5 b09ac378f025
files tests/test-evolve-topic.t
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-evolve-topic.t	Thu May 05 21:42:49 2016 +0200
+++ b/tests/test-evolve-topic.t	Thu May 05 21:54:26 2016 +0200
@@ -1,9 +1,9 @@
 
 Check we can find the topic extensions
 
-  $ [ -z "$TOPICROOT" ] && echo 'skipped: $TOPICROOT not set' >&2 && exit 80
+  $ [ -z "$HGTEST_TOPICROOT" ] && echo 'skipped: $HGTEST_TOPICROOT not set' >&2 && exit 80
   [1]
-  $ [ ! -e $TOPICROOT/hgext3rd/topic/__init__.py ] && echo 'skipped: no topic repo found at $TOPICROOT' >&2 && exit 80
+  $ [ ! -e $HGTEST_TOPICROOT/hgext3rd/topic/__init__.py ] && echo 'skipped: no topic repo found at $HGTEST_TOPICROOT' >&2 && exit 80
   [1]
   $ cat >> $HGRCPATH <<EOF
   > [defaults]
@@ -18,7 +18,7 @@
   > unified = 0
   > [extensions]
   > rebase = 
-  > topic = $TOPICROOT/hgext3rd/topic/
+  > topic = $HGTEST_TOPICROOT/hgext3rd/topic/
   > EOF
   $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext/evolve.py" >> $HGRCPATH