Mercurial > hg
diff tests/remotefilelog-library.sh @ 47063:1d075b857c90 stable
tests: ensure `$PYTHON` is quoted for Windows
Global installs of python3 go into "Program Files", and tons of tests fail with
mysterious errors if this isn't quoted. Most of this is a followup to
0826d684a1b5, but a some of these were existing issues. Shebang lines are
ignored because quoting breaks direct execution- these will need to be launched
indirectly with the quoted `$PYTHON` command.
Differential Revision: https://phab.mercurial-scm.org/D10633
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 01 May 2021 00:41:43 -0400 |
parents | 0826d684a1b5 |
children | 9c4204b7f3e4 |
line wrap: on
line diff
--- a/tests/remotefilelog-library.sh Fri Apr 30 16:13:02 2021 -0700 +++ b/tests/remotefilelog-library.sh Sat May 01 00:41:43 2021 -0400 @@ -8,7 +8,7 @@ rebase= strip= [ui] -ssh=$PYTHON "$TESTDIR/dummyssh" +ssh="$PYTHON" "$TESTDIR/dummyssh" [server] preferuncompressed=True [experimental] @@ -67,7 +67,7 @@ } ls_l() { - $PYTHON $TESTDIR/ls-l.py "$@" + "$PYTHON" $TESTDIR/ls-l.py "$@" } identifyrflcaps() {