comparison tests/test-grep.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 7731a2281cf0
children c260887cdbcd
comparison
equal deleted inserted replaced
22946:77c121da6143 22947:c63a09b6b337
108 color:1:+:orange 108 color:1:+:orange
109 109
110 110
111 match in last "line" without newline 111 match in last "line" without newline
112 112
113 $ python -c 'fp = open("noeol", "wb"); fp.write("no infinite loop"); fp.close();' 113 $ $PYTHON -c 'fp = open("noeol", "wb"); fp.write("no infinite loop"); fp.close();'
114 $ hg ci -Amnoeol 114 $ hg ci -Amnoeol
115 adding noeol 115 adding noeol
116 $ hg grep loop 116 $ hg grep loop
117 noeol:4:no infinite loop 117 noeol:4:no infinite loop
118 118