# HG changeset patch # User Thomas Arendsen Hein # Date 1342709452 -7200 # Node ID 7af38fe1f829eafdd02d19ece4c5276f23ead9f3 # Parent 436cc9d017c68a3b71ec6bcb4ab0046a403c9045 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. diff -r 436cc9d017c6 -r 7af38fe1f829 tests/test-extension.t --- 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