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.
Showing
- tests/test-bundle2-exchange.t 2 additions, 2 deletionstests/test-bundle2-exchange.t
- tests/test-clone.t 1 addition, 1 deletiontests/test-clone.t
- tests/test-clonebundles.t 2 additions, 2 deletionstests/test-clonebundles.t
- tests/test-http-branchmap.t 1 addition, 1 deletiontests/test-http-branchmap.t
- tests/test-init.t 7 additions, 7 deletionstests/test-init.t
- tests/test-largefiles-wireproto.t 1 addition, 1 deletiontests/test-largefiles-wireproto.t
- tests/test-ssh-bundle1.t 24 additions, 24 deletionstests/test-ssh-bundle1.t
- tests/test-ssh-clone-r.t 5 additions, 5 deletionstests/test-ssh-clone-r.t
- tests/test-ssh.t 23 additions, 23 deletionstests/test-ssh.t
- tests/test-subrepo-relative-path.t 2 additions, 2 deletionstests/test-subrepo-relative-path.t
- tests/test-wireproto.t 4 additions, 4 deletionstests/test-wireproto.t
Loading
Please register or sign in to comment