test: enforce color to be enabled mercurial-4.1
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 18 May 2017 22:53:01 +0200
branchmercurial-4.1
changeset 2423 677dfbb8bdbf
parent 2317 7263463ae79a
child 2431 0405bbda7402
test: enforce color to be enabled 4.2 enable color by default and start to get used in test. So we add this to the test for previous version.
tests/test-evolve-obshistory.t
tests/test-obsolete.t
tests/test-prev-next.t
tests/test-topic-stack.t
--- a/tests/test-evolve-obshistory.t	Wed May 03 13:12:39 2017 +0200
+++ b/tests/test-evolve-obshistory.t	Thu May 18 22:53:01 2017 +0200
@@ -12,6 +12,7 @@
   > publish=False
   > [extensions]
   > evolve =
+  > color =
   > EOF
 
 Test output on amended commit
--- a/tests/test-obsolete.t	Wed May 03 13:12:39 2017 +0200
+++ b/tests/test-obsolete.t	Thu May 18 22:53:01 2017 +0200
@@ -8,6 +8,7 @@
   > debugobsolete=debugobsolete -d '0 0'
   > [extensions]
   > hgext.rebase=
+  > color =
   > EOF
   $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH
   $ mkcommit() {
--- a/tests/test-prev-next.t	Wed May 03 13:12:39 2017 +0200
+++ b/tests/test-prev-next.t	Thu May 18 22:53:01 2017 +0200
@@ -1,6 +1,7 @@
   $ cat >> $HGRCPATH <<EOF
   > [extensions]
   > hgext.graphlog=
+  > color =
   > EOF
   $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH
 
--- a/tests/test-topic-stack.t	Wed May 03 13:12:39 2017 +0200
+++ b/tests/test-topic-stack.t	Thu May 18 22:53:01 2017 +0200
@@ -4,6 +4,8 @@
 
 
   $ cat << EOF >> $HGRCPATH
+  > [extensions]
+  > color =
   > [ui]
   > logtemplate = {rev} {branch} \{{get(namespaces, "topics")}} {phase} {desc|firstline}\n
   > [experimental]