changeset 27309:b0de270acd17

tests: use a single repo for test-contrib-perf
author timeless <timeless@mozdev.org>
date Tue, 08 Dec 2015 04:56:26 +0000
parents 7bc52ac46172
children 9c98fe1416c2
files tests/test-contrib-perf.t
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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