changeset 4897:20380ae44d0f stable

tests: simply use testlib/common.sh in test-metaedit.t
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 09 Oct 2019 20:16:38 +0700
parents 14698b28aa57
children 9936aecc9ea3
files tests/test-metaedit.t
diffstat 1 files changed, 3 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-metaedit.t	Wed Oct 09 20:12:54 2019 +0700
+++ b/tests/test-metaedit.t	Wed Oct 09 20:16:38 2019 +0700
@@ -1,16 +1,12 @@
+  $ . $TESTDIR/testlib/common.sh
+
   $ cat >> $HGRCPATH <<EOF
   > [alias]
   > glog = log -GT "{rev}:{node|short}@{branch}({phase}) {desc|firstline}"
   > gluf = log -GT "{rev}: {desc|firstline} - {author|user} ({files})"
   > [extensions]
+  > evolve =
   > EOF
-  $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH
-  $ mkcommit() {
-  >    echo "$1" > "$1"
-  >    hg add "$1"
-  >    hg ci -m "$1"
-  > }
-
 
 ##########################
 importing Parren test