changeset 2775:1d16c9dcb825

test: use common setup for test-split.t This make things cleaner.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 24 Jul 2017 00:11:02 +0200
parents 0f167320f90f
children 4dd84054ebbb
files tests/test-split.t
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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"