comparison tests/test-hgrc.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 2be7d5ebd4d0
children d898c7e8c301
comparison
equal deleted inserted replaced
22946:77c121da6143 22947:c63a09b6b337
56 $ hg version 56 $ hg version
57 hg: parse error at $TESTTMP/hgrc:2: x = y 57 hg: parse error at $TESTTMP/hgrc:2: x = y
58 unexpected leading whitespace 58 unexpected leading whitespace
59 [255] 59 [255]
60 60
61 $ python -c "print '[foo]\nbar = a\n b\n c \n de\n fg \nbaz = bif cb \n'" \ 61 $ $PYTHON -c "print '[foo]\nbar = a\n b\n c \n de\n fg \nbaz = bif cb \n'" \
62 > > $HGRC 62 > > $HGRC
63 $ hg showconfig foo 63 $ hg showconfig foo
64 foo.bar=a\nb\nc\nde\nfg 64 foo.bar=a\nb\nc\nde\nfg
65 foo.baz=bif cb 65 foo.baz=bif cb
66 66