[Updated] D11983: test: do not use `which` to find an exec path in the test

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Tue Jan 25 09:25:23 UTC 2022


Closed by commit rHGc95ace94f3ad: test: do not use `which` to find an exec path in the test (authored by marmoute).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D11983?vs=31851&id=31961

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D11983/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D11983

AFFECTED FILES
  tests/test-run-tests.t

CHANGE DETAILS

diff --git a/tests/test-run-tests.t b/tests/test-run-tests.t
--- a/tests/test-run-tests.t
+++ b/tests/test-run-tests.t
@@ -21,7 +21,7 @@
 error paths
 
 #if symlink
-  $ ln -s `which true` hg
+  $ ln -s "/"bin"/"true hg
   $ "$PYTHON" $TESTDIR/run-tests.py --with-hg=./hg
   ^warning: --with-hg should specify an hg script, not: (true|coreutils)$ (re)
   running 0 tests using 0 parallel processes 



To: marmoute, #hg-reviewers, Alphare
Cc: Alphare, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20220125/19fd9fa3/attachment-0002.html>


More information about the Mercurial-patches mailing list