[Erp5-report] r40298 luke - /erp5/trunk/buildout/tests/assertSoftware.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Nov 16 10:50:18 CET 2010


Author: luke
Date: Tue Nov 16 10:50:18 2010
New Revision: 40298

URL: http://svn.erp5.org?rev=40298&view=rev
Log:
 - begin assertion of modules

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=40298&r1=40297&r2=40298&view=diff
==============================================================================
--- erp5/trunk/buildout/tests/assertSoftware.py [utf8] (original)
+++ erp5/trunk/buildout/tests/assertSoftware.py [utf8] Tue Nov 16 10:50:18 2010
@@ -404,6 +404,14 @@ class AssertApache(unittest.TestCase):
     self.assertEqual([], failed_module_list,
         'Apache modules not found:\n'+'\n'.join(failed_module_list))
 
+  def test_ld_module_mod_actions(self):
+    elf_dict = readElfAsDict('parts/apache/modules/mod_actions.so')
+    self.assertEqual(sorted(['libpthread', 'libc']), elf_dict['library_list'])
+    soft_dir = os.path.join(os.path.abspath(os.curdir), 'parts')
+    expected_rpath_list = [os.path.join(soft_dir, software, 'lib') for
+        software in ['zlib', 'openssl', 'libuuid', 'libexpat', 'pcre']]
+    self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list'])
+
 class AssertItools(unittest.TestCase):
   def test_ld_parserso(self):
     elf_dict = readElfAsDict('parts/itools/lib/itools/xml/parser.so')




More information about the Erp5-report mailing list