diff tests/test-evolve-obshistory.t @ 3885:3df8b6ecce2a

tests: extract obshistory setup in a separate file We are gonna soon explode the obshistory test file into several, extract the setup to reuse it as much as possible.
author Boris Feld <boris.feld@octobus.net>
date Tue, 22 May 2018 15:35:54 +0200
parents 16bec7609a08
children 8f27e17c3558
line wrap: on
line diff
--- a/tests/test-evolve-obshistory.t	Tue May 22 12:07:24 2018 +0200
+++ b/tests/test-evolve-obshistory.t	Tue May 22 15:35:54 2018 +0200
@@ -4,17 +4,7 @@
 Global setup
 ============
 
-  $ . $TESTDIR/testlib/common.sh
-  $ cat >> $HGRCPATH <<EOF
-  > [ui]
-  > interactive = true
-  > [phases]
-  > publish=False
-  > [extensions]
-  > evolve =
-  > [experimental]
-  > evolution.effect-flags = yes
-  > EOF
+  $ . $TESTDIR/testlib/obshistory_setup.sh
 
 Test simple common cases
 ========================