Mercurial > hg
diff tests/test-largefiles-wireproto.t @ 33335:72f051f9a7d8
tests: quote $PYTHON for Windows
When unquoted, MSYS sees the colon between the drive letter and path as a Unix
path separator and unhelpfully splits on it, feeding only the drive letter as
the command. Much chaos ensues.
I vaguely remember trying to get the test runner to use /letter/path/to/exe
syntax the last time this happened, without success. I doubt a check-code rule
would work, since sometimes it is quoted, and sometimes the quotes are escaped.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 07 Jul 2017 01:05:20 -0400 |
parents | 2428e8ec0793 |
children | 9a0f33f497cd |
line wrap: on
line diff
--- a/tests/test-largefiles-wireproto.t Mon Jun 26 15:28:28 2017 -0700 +++ b/tests/test-largefiles-wireproto.t Fri Jul 07 01:05:20 2017 -0400 @@ -112,7 +112,7 @@ #endif vanilla clients locked out from largefiles ssh repos - $ hg --config extensions.largefiles=! clone -e "$PYTHON \"$TESTDIR/dummyssh\"" ssh://user@dummy/r4 r5 + $ hg --config extensions.largefiles=! clone -e "\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/r4 r5 remote: remote: This repository uses the largefiles extension. remote: