tests: use common obshistory_setup.sh script instead of manual setup
authorAnton Shestakov <av6@dwimlabs.net>
Tue, 05 May 2020 16:52:59 +0800
changeset 5338 7e93d9db1d1a
parent 5337 9eba849b4c3d
child 5339 258c0a99c5b0
tests: use common obshistory_setup.sh script instead of manual setup This is now consistent with other test-evolve-obshistory*.t tests.
tests/test-evolve-obshistory-complex.t
--- a/tests/test-evolve-obshistory-complex.t	Tue May 05 16:27:02 2020 +0800
+++ b/tests/test-evolve-obshistory-complex.t	Tue May 05 16:52:59 2020 +0800
@@ -1,15 +1,7 @@
 Global setup
 ============
 
-  $ . $TESTDIR/testlib/common.sh
-  $ cat >> $HGRCPATH <<EOF
-  > [ui]
-  > interactive = true
-  > [phases]
-  > publish=False
-  > [extensions]
-  > evolve =
-  > EOF
+  $ . $TESTDIR/testlib/obshistory_setup.sh
 
 Test obslog with split + fold + split
 =====================================