Patchwork D7251: tests: quote $PYTHON in test-byteify-strings.t

login
register
mail settings
Submitter phabricator
Date Nov. 6, 2019, 3:56 a.m.
Message ID <differential-rev-PHID-DREV-hg3viraoozfwvb5oycal-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/42797/
State Superseded
Headers show

Comments

phabricator - Nov. 6, 2019, 3:56 a.m.
mharbison72 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  This is needed because the default install location is "Program Files" on
  Windows.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  tests/test-byteify-strings.t

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-byteify-strings.t b/tests/test-byteify-strings.t
--- a/tests/test-byteify-strings.t
+++ b/tests/test-byteify-strings.t
@@ -1,7 +1,7 @@ 
 #require py37
 
   $ byteify_strings () {
-  >   $PYTHON "$TESTDIR/../contrib/byteify-strings.py" "$@"
+  >   "$PYTHON" "$TESTDIR/../contrib/byteify-strings.py" "$@"
   > }
 
 Test version