diff tests/test-install.t @ 52195: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 57f0b86611c7
children e88939f53342
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) (?)