Mercurial > hg-stable
diff tests/test-import-bypass.t @ 39723:5abc47d4ca6b
tests: quote PYTHON usage
Python3 defaults to installing under "Program Files".
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 18 Sep 2018 23:47:21 -0400 |
parents | d667302b6ee1 |
children | d1cabce5ef05 |
line wrap: on
line diff
--- a/tests/test-import-bypass.t Tue Sep 18 22:40:03 2018 -0400 +++ b/tests/test-import-bypass.t Tue Sep 18 23:47:21 2018 -0400 @@ -227,7 +227,7 @@ (this also tests that editor is not invoked for '--bypass', if the commit message is explicitly specified, regardless of '--edit') - $ $PYTHON -c 'open("a", "wb").write(b"a\r\n")' + $ "$PYTHON" -c 'open("a", "wb").write(b"a\r\n")' $ hg ci -m makeacrlf $ HGEDITOR=cat hg import -m 'should fail because of eol' --edit --bypass ../test.diff applying ../test.diff