comparison tests/test-eol.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 ae3f17a87b28
children 42d2b31cee0b
comparison
equal deleted inserted replaced
39706:030d558c6456 39707:5abc47d4ca6b
71 > hg cat a.txt 71 > hg cat a.txt
72 > printf "fourth${EOL}" >> a.txt 72 > printf "fourth${EOL}" >> a.txt
73 > echo '% a.txt' 73 > echo '% a.txt'
74 > cat a.txt 74 > cat a.txt
75 > hg diff 75 > hg diff
76 > $PYTHON ../switch-eol.py $1 a.txt 76 > "$PYTHON" ../switch-eol.py $1 a.txt
77 > echo '% hg diff only reports a single changed line:' 77 > echo '% hg diff only reports a single changed line:'
78 > hg diff 78 > hg diff
79 > echo "% reverting back to $1 format" 79 > echo "% reverting back to $1 format"
80 > hg revert a.txt 80 > hg revert a.txt
81 > cat a.txt 81 > cat a.txt