comparison tests/test-diff-newlines.t @ 22947:c63a09b6b337

tests: use $PYTHON instead of hardcoding python This makes running the testsuite with pypy possible.
author Augie Fackler <raf@durin42.com>
date Wed, 15 Oct 2014 15:35:59 -0400
parents 405b6bd015df
children aaa1f8f514cf
comparison
equal deleted inserted replaced
22946:77c121da6143 22947:c63a09b6b337
1 $ hg init 1 $ hg init
2 2
3 $ python -c 'file("a", "wb").write("confuse str.splitlines\nembedded\rnewline\n")' 3 $ $PYTHON -c 'file("a", "wb").write("confuse str.splitlines\nembedded\rnewline\n")'
4 $ hg ci -Ama -d '1 0' 4 $ hg ci -Ama -d '1 0'
5 adding a 5 adding a
6 6
7 $ echo clean diff >> a 7 $ echo clean diff >> a
8 $ hg ci -mb -d '2 0' 8 $ hg ci -mb -d '2 0'