changeset 41496:e095a9688a31

tests: quote $PYTHON for py3 support on Windows
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 31 Jan 2019 22:01:09 -0500
parents ef29b6b8768c
children 3028b4073be1
files tests/test-convert-hg-svn.t tests/test-convert-svn-move.t tests/test-convert-svn-source.t tests/test-mq-subrepo-svn.t tests/test-subrepo-svn.t
diffstat 5 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-convert-hg-svn.t	Thu Jan 31 21:54:38 2019 -0500
+++ b/tests/test-convert-hg-svn.t	Thu Jan 31 22:01:09 2019 -0500
@@ -11,7 +11,7 @@
   > EOF
 
   $ SVNREPOPATH=`pwd`/svn-repo
-  $ SVNREPOURL="`$PYTHON $TESTDIR/svnurlof.py \"$SVNREPOPATH\"`"
+  $ SVNREPOURL="`"$PYTHON" $TESTDIR/svnurlof.py \"$SVNREPOPATH\"`"
 
   $ svnadmin create "$SVNREPOPATH"
   $ cat > "$SVNREPOPATH"/hooks/pre-revprop-change <<EOF
--- a/tests/test-convert-svn-move.t	Thu Jan 31 21:54:38 2019 -0500
+++ b/tests/test-convert-svn-move.t	Thu Jan 31 22:01:09 2019 -0500
@@ -8,7 +8,7 @@
   $ svnadmin create svn-repo
   $ svnadmin load -q svn-repo < "$TESTDIR/svn/move.svndump"
   $ SVNREPOPATH=`pwd`/svn-repo
-  $ SVNREPOURL="`$PYTHON $TESTDIR/svnurlof.py \"$SVNREPOPATH\"`"
+  $ SVNREPOURL="`"$PYTHON" $TESTDIR/svnurlof.py \"$SVNREPOPATH\"`"
 
 Convert trunk and branches
 
--- a/tests/test-convert-svn-source.t	Thu Jan 31 21:54:38 2019 -0500
+++ b/tests/test-convert-svn-source.t	Thu Jan 31 22:01:09 2019 -0500
@@ -13,7 +13,7 @@
 
   $ svnadmin create svn-repo
   $ SVNREPOPATH=`pwd`/svn-repo
-  $ SVNREPOURL="`$PYTHON $TESTDIR/svnurlof.py \"$SVNREPOPATH\"`"
+  $ SVNREPOURL="`"$PYTHON" $TESTDIR/svnurlof.py \"$SVNREPOPATH\"`"
   $ INVALIDREVISIONID=svn:x2147622-4a9f-4db4-a8d3-13562ff547b2/proj%20B/mytrunk@1
   $ VALIDREVISIONID=svn:a2147622-4a9f-4db4-a8d3-13562ff547b2/proj%20B/mytrunk/mytrunk@1
 
--- a/tests/test-mq-subrepo-svn.t	Thu Jan 31 21:54:38 2019 -0500
+++ b/tests/test-mq-subrepo-svn.t	Thu Jan 31 22:01:09 2019 -0500
@@ -23,7 +23,7 @@
   $ svnadmin create svn-repo-2499
 
   $ SVNREPOPATH=`pwd`/svn-repo-2499/project
-  $ SVNREPOURL="`$PYTHON $TESTDIR/svnurlof.py \"$SVNREPOPATH\"`"
+  $ SVNREPOURL="`"$PYTHON" $TESTDIR/svnurlof.py \"$SVNREPOPATH\"`"
 
   $ mkdir -p svn-project-2499/trunk
   $ svn import -qm 'init project' svn-project-2499 "$SVNREPOURL"
--- a/tests/test-subrepo-svn.t	Thu Jan 31 21:54:38 2019 -0500
+++ b/tests/test-subrepo-svn.t	Thu Jan 31 22:01:09 2019 -0500
@@ -1,7 +1,7 @@
 #require svn15
 
   $ SVNREPOPATH=`pwd`/svn-repo
-  $ SVNREPOURL="`$PYTHON $TESTDIR/svnurlof.py \"$SVNREPOPATH\"`"
+  $ SVNREPOURL="`"$PYTHON" $TESTDIR/svnurlof.py \"$SVNREPOPATH\"`"
 
   $ filter_svn_output () {
   >     egrep -v 'Committing|Transmitting|Updating|(^$)' || true