[Neo-report] r2718 jm - /trunk/neo/tests/functional/__init__.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Apr 20 10:21:31 CEST 2011


Author: jm
Date: Wed Apr 20 10:21:31 2011
New Revision: 2718

Log:
tests: prevent child from killing other children at exit

Modified:
    trunk/neo/tests/functional/__init__.py

Modified: trunk/neo/tests/functional/__init__.py
==============================================================================
--- trunk/neo/tests/functional/__init__.py [iso-8859-1] (original)
+++ trunk/neo/tests/functional/__init__.py [iso-8859-1] Wed Apr 20 10:21:31 2011
@@ -130,6 +130,8 @@ class NEOProcess(object):
         self.pid = os.fork()
         if self.pid == 0:
             # Child
+            # prevent child from killing anything
+            del self.__class__.__del__
             try:
                 sys.argv = [command] + args
                 getattr(neo.scripts,  command).main()




More information about the Neo-report mailing list