SVN: zdaemon/trunk/ Fixed test renormalizer that did not work in certain cases where the

Stephan Richter <[email protected]>
Newsgroups gmane.comp.web.zope.zope3.cvs
Message-ID <20071031042445.C10A2203B05__430.064279544418$1193804705$gmane$org@mail.zope.org>
Log message for revision 81261:
  Fixed test renormalizer that did not work in certain cases where the
  environment was complex.
  

Changed:
  U   zdaemon/trunk/CHANGES.txt
  U   zdaemon/trunk/setup.py
  U   zdaemon/trunk/src/zdaemon/tests/tests.py

-=-
Modified: zdaemon/trunk/CHANGES.txt
===================================================================
--- zdaemon/trunk/CHANGES.txt	2007-10-31 02:46:52 UTC (rev 81260)
+++ zdaemon/trunk/CHANGES.txt	2007-10-31 04:24:44 UTC (rev 81261)
@@ -1,6 +1,15 @@
 zdaemon Changelog
 *****************
 
+zdaemon 2.0.1 (2007/10/31)
+==========================
+
+Bugs Fixed
+----------
+
+Fixed test renormalizer that did not work in certain cases where the
+environment was complex.
+
 zdaemon 2.0.0 (2007/07/19)
 ==========================
 

Modified: zdaemon/trunk/setup.py
===================================================================
--- zdaemon/trunk/setup.py	2007-10-31 02:46:52 UTC (rev 81260)
+++ zdaemon/trunk/setup.py	2007-10-31 04:24:44 UTC (rev 81261)
@@ -68,5 +68,5 @@
        'Topic :: Utilities',
        'Operating System :: POSIX',
        ],
-    
+
     **setuptools_options)

Modified: zdaemon/trunk/src/zdaemon/tests/tests.py
===================================================================
--- zdaemon/trunk/src/zdaemon/tests/tests.py	2007-10-31 02:46:52 UTC (rev 81260)
+++ zdaemon/trunk/src/zdaemon/tests/tests.py	2007-10-31 04:24:44 UTC (rev 81261)
@@ -134,7 +134,7 @@
             setUp=setUp, tearDown=tearDown,
             checker=renormalizing.RENormalizing([
                 (re.compile('pid=\d+'), 'pid=NNN'),
-                (re.compile('^env\n((\w+=[^\n]*\n)+)$'), checkenv),
+                (re.compile('^env\n((?:.*\n)+)$'), checkenv),
                 ])
         ),
         ))
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.