Mercurial > public > mercurial-scm > hg
diff tests/test-convert-mtn.t @ 39707: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 | 2f40bcebad30 |
children |
line wrap: on
line diff
--- a/tests/test-convert-mtn.t Tue Sep 18 22:40:03 2018 -0400 +++ b/tests/test-convert-mtn.t Tue Sep 18 23:47:21 2018 -0400 @@ -43,7 +43,7 @@ $ mkdir dir $ echo b > dir/b $ echo d > dir/d - $ $PYTHON -c 'open("bin", "wb").write(b"a\\x00b") and None' + $ "$PYTHON" -c 'open("bin", "wb").write(b"a\\x00b") and None' $ echo c > c $ mtn add a dir/b dir/d c bin mtn: adding 'a' to workspace manifest @@ -65,7 +65,7 @@ $ echo b >> dir/b $ mtn drop c mtn: dropping 'c' from workspace manifest - $ $PYTHON -c 'open("bin", "wb").write(b"b\\x00c") and None' + $ "$PYTHON" -c 'open("bin", "wb").write(b"b\\x00c") and None' $ mtn ci -m update1 mtn: beginning commit on branch 'com.selenic.test' mtn: committed revision 51d0a982464573a2a2cf5ee2c9219c652aaebeff