Mercurial > public > mercurial-scm > hg
diff tests/test-mq-subrepo-svn.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 | 7a9cbb315d84 |
children | e955549cd045 |
line wrap: on
line diff
--- a/tests/test-mq-subrepo-svn.t Wed Oct 15 15:13:43 2014 -0400 +++ b/tests/test-mq-subrepo-svn.t Wed Oct 15 15:35:59 2014 -0400 @@ -19,9 +19,9 @@ $ SVNREPOPATH=`pwd`/svn-repo-2499/project #if windows - $ SVNREPOURL=file:///`python -c "import urllib, sys; sys.stdout.write(urllib.quote(sys.argv[1]))" "$SVNREPOPATH"` + $ SVNREPOURL=file:///`$PYTHON -c "import urllib, sys; sys.stdout.write(urllib.quote(sys.argv[1]))" "$SVNREPOPATH"` #else - $ SVNREPOURL=file://`python -c "import urllib, sys; sys.stdout.write(urllib.quote(sys.argv[1]))" "$SVNREPOPATH"` + $ SVNREPOURL=file://`$PYTHON -c "import urllib, sys; sys.stdout.write(urllib.quote(sys.argv[1]))" "$SVNREPOPATH"` #endif $ mkdir -p svn-project-2499/trunk