[Zodb-checkins] CVS: ZODB3/ZEO/tests - testStart.py:1.12.8.2

Guido van Rossum guido@python.org
Fri, 3 Jan 2003 10:04:18 -0500


Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv29182

Modified Files:
      Tag: ZODB3-3_1-branch
	testStart.py 
Log Message:
Backport 1.14 from trunk:

Quote some pathnames to make this test pass on Mac OS X.


=== ZODB3/ZEO/tests/testStart.py 1.12.8.1 => 1.12.8.2 ===
--- ZODB3/ZEO/tests/testStart.py:1.12.8.1	Wed Oct 16 17:47:54 2002
+++ ZODB3/ZEO/tests/testStart.py	Fri Jan  3 10:04:15 2003
@@ -48,7 +48,9 @@
         if startfile[-1] == 'c':
             startfile = startfile[:-1]
         self.env = Environment(startfile)
-        self.cmd = '%s %s' % (sys.executable, startfile)
+        # Put quotes around the arguments for (e.g.) Mac OS X,
+        # where the path names may include spaces.
+        self.cmd = '"%s" "%s"' % (sys.executable, startfile)
         self.pids = {}
 
     def tearDown(self):