diff tests/test-check-commit.t @ 29219:3c9066ed557c

tests: silence test-repo obsolete warning refactoring test-check-commit.t HGRCPATH bits as helpers-testrepo.sh
author timeless <timeless@mozdev.org>
date Wed, 11 May 2016 04:49:27 +0000
parents a22b6fa5a844
children 2cab496db1e0
line wrap: on
line diff
--- a/tests/test-check-commit.t	Mon May 09 10:05:32 2016 +0200
+++ b/tests/test-check-commit.t	Wed May 11 04:49:27 2016 +0000
@@ -2,10 +2,7 @@
 
 Enable obsolescence to avoid the warning issue when obsmarker are found
 
-  $ cat >> $HGRCPATH << EOF
-  > [experimental]
-  > evolution=createmarkers
-  > EOF
+  $ . "$TESTDIR/helpers-testrepo.sh"
 
 Go back in the hg repo