[Erp5-report] r42243 nicolas.dumazet - /erp5/trunk/buildout/tests/assertSoftware.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jan 12 08:57:07 CET 2011


Author: nicolas.dumazet
Date: Wed Jan 12 08:57:07 2011
New Revision: 42243

URL: http://svn.erp5.org?rev=42243&view=rev
Log:
avoid false positives

e.g.:
ldd: warning: you do not have execution permission for `software/develop-eggs/rdiff_backup-1.0.5-py2.6-linux-i686.egg/EGG-INFO/zip-safe'
lddlibc4: cannot read header from `software/develop-eggs/rdiff_backup-1.0.5-py2.6-linux-i686.egg/EGG-INFO/zip-safe'

Modified:
    erp5/trunk/buildout/tests/assertSoftware.py

Modified: erp5/trunk/buildout/tests/assertSoftware.py
URL: http://svn.erp5.org/erp5/trunk/buildout/tests/assertSoftware.py?rev=42243&r1=42242&r2=42243&view=diff
==============================================================================
--- erp5/trunk/buildout/tests/assertSoftware.py [utf8] (original)
+++ erp5/trunk/buildout/tests/assertSoftware.py [utf8] Wed Jan 12 08:57:07 2011
@@ -149,7 +149,7 @@ def readLddInfoList(f):
   link_list = []
   a = link_list.append
   result = popen.communicate()[0]
-  if 'not a dynamic executable' in result:
+  if 'not a dynamic executable' in result or 'cannot read header' in result:
     return link_list
   for line in result.split('\n'):
     line = line.strip()



More information about the Erp5-report mailing list