tests: use a single repo for test-contrib-perf
authortimeless <timeless@mozdev.org>
Tue, 08 Dec 2015 04:56:26 +0000
changeset 27309 b0de270acd17
parent 27308 7bc52ac46172
child 27310 9c98fe1416c2
tests: use a single repo for test-contrib-perf
tests/test-contrib-perf.t
--- a/tests/test-contrib-perf.t	Fri Dec 04 19:05:56 2015 +0000
+++ b/tests/test-contrib-perf.t	Tue Dec 08 04:56:26 2015 +0000
@@ -4,10 +4,9 @@
 
   $ CONTRIBDIR="$TESTDIR/../contrib"
 
-Prepare repo-a:
+Prepare repo:
 
-  $ hg init repo-a
-  $ cd repo-a
+  $ hg init
 
   $ echo this is file a > a
   $ hg add a
@@ -30,7 +29,7 @@
 
 perfstatus
 
-  $ cat > .hg/hgrc << EOF
+  $ cat >> $HGRCPATH << EOF
   > [extensions]
   > perfstatusext=$CONTRIBDIR/perf.py
   > EOF