changeset 52161:2ff4a2533b92 stable

test-install: use the global hg for the install step This prevent error in some cases.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 07 Nov 2024 01:30:08 +0100
parents 16b300e30139
children e88939f53342
files tests/test-install.t
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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) (?)