--- a/tests/test-win32text.t Tue Sep 18 22:40:03 2018 -0400
+++ b/tests/test-win32text.t Tue Sep 18 23:47:21 2018 -0400
@@ -28,7 +28,7 @@
updating to branch default
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ cp .hg/hgrc ../zoz/.hg
- $ $PYTHON unix2dos.py f
+ $ "$PYTHON" unix2dos.py f
commit should fail
@@ -102,7 +102,7 @@
$ mkdir d
$ echo hello > d/f2
- $ $PYTHON unix2dos.py d/f2
+ $ "$PYTHON" unix2dos.py d/f2
$ hg add d/f2
$ hg ci -m 3
attempt to commit or push text file(s) using CRLF line endings
@@ -118,7 +118,7 @@
$ hg rem f
$ hg ci -m 4
- $ $PYTHON -c 'open("bin", "wb").write(b"hello\x00\x0D\x0A")'
+ $ "$PYTHON" -c 'open("bin", "wb").write(b"hello\x00\x0D\x0A")'
$ hg add bin
$ hg ci -m 5
$ hg log -v
@@ -181,7 +181,7 @@
adding dupe/b
adding dupe/c
adding dupe/d
- $ $PYTHON unix2dos.py dupe/b dupe/c dupe/d
+ $ "$PYTHON" unix2dos.py dupe/b dupe/c dupe/d
$ hg -R dupe ci -m a dupe/a
$ hg -R dupe ci -m b/c dupe/[bc]
$ hg -R dupe ci -m d dupe/d
@@ -342,7 +342,7 @@
$ rm .hg/hgrc
$ (echo some; echo text) > f3
- $ $PYTHON -c 'open("f4.bat", "wb").write(b"rem empty\x0D\x0A")'
+ $ "$PYTHON" -c 'open("f4.bat", "wb").write(b"rem empty\x0D\x0A")'
$ hg add f3 f4.bat
$ hg ci -m 6
$ cat bin
@@ -395,7 +395,7 @@
$ cat f4.bat
rem empty\r (esc)
- $ $PYTHON -c 'open("f5.sh", "wb").write(b"# empty\x0D\x0A")'
+ $ "$PYTHON" -c 'open("f5.sh", "wb").write(b"# empty\x0D\x0A")'
$ hg add f5.sh
$ hg ci -m 7
$ cat f5.sh