# HG changeset patch # User Boris Feld # Date 1526996154 -7200 # Node ID 3df8b6ecce2a17821dc423520a8a0c87573cf05d # Parent 16bec7609a082081028d8c648e581fc8db2235b9 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. diff -r 16bec7609a08 -r 3df8b6ecce2a tests/test-evolve-obshistory.t --- 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 < [ui] - > interactive = true - > [phases] - > publish=False - > [extensions] - > evolve = - > [experimental] - > evolution.effect-flags = yes - > EOF + $ . $TESTDIR/testlib/obshistory_setup.sh Test simple common cases ======================== diff -r 16bec7609a08 -r 3df8b6ecce2a tests/testlib/obshistory_setup.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/testlib/obshistory_setup.sh Tue May 22 15:35:54 2018 +0200 @@ -0,0 +1,12 @@ +. $TESTDIR/testlib/common.sh + +cat >> $HGRCPATH <