Commit f6cbc108 authored by Łukasz Nowak's avatar Łukasz Nowak

- begin assertion of modules


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40298 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a9188957
......@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment