Mercurial > hg
changeset 36950:c18ae7a07019
tests: clean up two wayward `python` invocations
These are also fallout from the check-code regex rewriting bug.
Differential Revision: https://phab.mercurial-scm.org/D2865
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 14 Mar 2018 15:44:53 -0400 |
parents | 35d814fe2f30 |
children | c92d1d3c58ee |
files | tests/test-narrow-clone-non-narrow-server.t tests/test-sparse-clone.t |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-narrow-clone-non-narrow-server.t Wed Mar 14 15:42:23 2018 -0400 +++ b/tests/test-narrow-clone-non-narrow-server.t Wed Mar 14 15:44:53 2018 -0400 @@ -19,7 +19,7 @@ Verify that narrow is advertised in the bundle2 capabilities: $ echo hello | hg -R . serve --stdio | \ - > python -c "import sys, urllib; print urllib.unquote_plus(list(sys.stdin)[1])" | grep narrow + > $PYTHON -c "import sys, urllib; print urllib.unquote_plus(list(sys.stdin)[1])" | grep narrow narrow=v0 $ cd ..
--- a/tests/test-sparse-clone.t Wed Mar 14 15:42:23 2018 -0400 +++ b/tests/test-sparse-clone.t Wed Mar 14 15:44:53 2018 -0400 @@ -2,7 +2,7 @@ $ cat >> $HGRCPATH << EOF > [ui] - > ssh = python "$RUNTESTDIR/dummyssh" + > ssh = $PYTHON "$RUNTESTDIR/dummyssh" > username = nobody <no.reply@fb.com> > [extensions] > sparse=