tests: simply use testlib/common.sh in test-metaedit.t stable
authorAnton Shestakov <av6@dwimlabs.net>
Wed, 09 Oct 2019 20:16:38 +0700
branchstable
changeset 4897 20380ae44d0f
parent 4896 14698b28aa57
child 4898 9936aecc9ea3
tests: simply use testlib/common.sh in test-metaedit.t
tests/test-metaedit.t
--- 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