[CalendarServer-changes] [13595] CalendarServer/trunk/calendarserver/tap/test/test_caldav.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Jun 2 14:25:58 PDT 2014


Revision: 13595
          http://trac.calendarserver.org//changeset/13595
Author:   cdaboo at apple.com
Date:     2014-06-02 14:25:58 -0700 (Mon, 02 Jun 2014)
Log Message:
-----------
Re-use the same python executable when doing re-exec tests.

Modified Paths:
--------------
    CalendarServer/trunk/calendarserver/tap/test/test_caldav.py

Modified: CalendarServer/trunk/calendarserver/tap/test/test_caldav.py
===================================================================
--- CalendarServer/trunk/calendarserver/tap/test/test_caldav.py	2014-06-02 21:07:22 UTC (rev 13594)
+++ CalendarServer/trunk/calendarserver/tap/test/test_caldav.py	2014-06-02 21:25:58 UTC (rev 13595)
@@ -1284,8 +1284,8 @@
         deferred = Deferred()
         proc = reactor.spawnProcess(
             CapturingProcessProtocol(deferred, None),
-            twistd,
-            [twistd, reactorArg, '-n', '-y', tacFilePath],
+            sys.executable,
+            [sys.executable, twistd, reactorArg, '-n', '-y', tacFilePath],
             env=os.environ
         )
         reactor.callLater(3, proc.signalProcess, "HUP")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140602/0b6bc90f/attachment.html>


More information about the calendarserver-changes mailing list