test: use common setup for test-split.t
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 24 Jul 2017 00:11:02 +0200
changeset 2775 1d16c9dcb825
parent 2774 0f167320f90f
child 2776 4dd84054ebbb
test: use common setup for test-split.t This make things cleaner.
tests/test-split.t
--- a/tests/test-split.t	Mon Jul 24 00:01:10 2017 +0200
+++ b/tests/test-split.t	Mon Jul 24 00:11:02 2017 +0200
@@ -1,6 +1,8 @@
 test of the split command
 -----------------------
 
+  $ . $TESTDIR/testlib/common.sh
+
   $ cat >> $HGRCPATH <<EOF
   > [defaults]
   > amend=-d "0 0"
@@ -19,8 +21,8 @@
   > interactive = true
   > [extensions]
   > hgext.graphlog=
+  > evolve =
   > EOF
-  $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH
   $ mkcommit() {
   >    echo "$1" > "$1"
   >    hg add "$1"