changeset 17227:7af38fe1f829 stable

test-extension.t: use fixed version string instead of current tag Currently tests break with the current tag being 2.3-rc and tags set by the user could affect this test, too.
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 19 Jul 2012 16:50:52 +0200
parents 436cc9d017c6
children d1b49b02bc16
files tests/test-extension.t
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-extension.t	Wed Jul 18 19:09:06 2012 -0500
+++ b/tests/test-extension.t	Thu Jul 19 16:50:52 2012 +0200
@@ -510,6 +510,8 @@
   ** Mercurial Distributed SCM (*) (glob)
   ** Extensions loaded: throw
 If the extensions declare outdated versions, accuse the older extension first:
+  $ echo "from mercurial import util" >> older.py
+  $ echo "util.version = lambda:'2.2'" >> older.py
   $ echo "testedwith = '1.9.3'" >> older.py
   $ echo "testedwith = '2.1.1'" >> throw.py
   $ rm -f throw.pyc throw.pyo