test-install: use the global hg for the install step
This prevent error in some cases.
--- 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) (?)