[Zope-Checkins] CVS: ZODB3/ZEO/tests - testStart.py:1.14

Guido van Rossum guido@python.org
Tue, 26 Nov 2002 17:29:32 -0500


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

Modified Files:
	testStart.py 
Log Message:
Quote some pathnames to make this test pass on Mac OS X.


=== ZODB3/ZEO/tests/testStart.py 1.13 => 1.14 ===
--- ZODB3/ZEO/tests/testStart.py:1.13	Fri Oct 11 16:29:33 2002
+++ ZODB3/ZEO/tests/testStart.py	Tue Nov 26 17:29:32 2002
@@ -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):