test-install: use the global hg for the install step stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 07 Nov 2024 01:30:08 +0100
branchstable
changeset 52195 2ff4a2533b92
parent 52194 16b300e30139
child 52196 e88939f53342
test-install: use the global hg for the install step This prevent error in some cases.
tests/test-install.t
--- a/tests/test-install.t	Tue Nov 05 12:02:38 2024 -0500
+++ b/tests/test-install.t	Thu Nov 07 01:30:08 2024 +0100
@@ -1,3 +1,5 @@
+  $ . "$RUNTESTDIR/helpers-testrepo.sh"
+
 hg debuginstall
   $ hg debuginstall
   checking encoding (ascii)...
@@ -212,7 +214,7 @@
 
 Note: we use this weird path to run pip and hg to avoid platform differences,
 since it's bin on most platforms but Scripts on Windows.
-  $ ./installenv/*/pip install $TESTDIR/.. >> pip.log
+  $ (syshgenv; ./installenv/*/pip install $TESTDIR/.. >> pip.log)
     Failed building wheel for mercurial (?)
   WARNING: You are using pip version *; however, version * is available. (glob) (?)
   You should consider upgrading via the '$TESTTMP/installenv/bin/python* -m pip install --upgrade pip' command. (glob) (?)