tests/test-subrepo-svn.t
changeset 22947 c63a09b6b337
parent 22590 d4c972b97fee
child 23963 8f02682ff3b0
--- a/tests/test-subrepo-svn.t	Wed Oct 15 15:13:43 2014 -0400
+++ b/tests/test-subrepo-svn.t	Wed Oct 15 15:35:59 2014 -0400
@@ -2,9 +2,9 @@
 
   $ SVNREPOPATH=`pwd`/svn-repo
 #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
 
 create subversion repo
@@ -242,7 +242,7 @@
 
 verify subrepo is contained within the repo directory
 
-  $ python -c "import os.path; print os.path.exists('s')"
+  $ $PYTHON -c "import os.path; print os.path.exists('s')"
   True
 
 update to nullrev (must delete the subrepo)