From 6be3423c23e991333ef817d31a9a6e5ca8085363 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Mon, 22 Nov 2010 17:13:44 +0000 Subject: [PATCH] - initiate cyrus sasl linking assertions git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40503 20353a03-c40f-0410-a6d1-a30d3c3de9de --- buildout/tests/assertSoftware.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/buildout/tests/assertSoftware.py b/buildout/tests/assertSoftware.py index aa2e356ec2..cc6a1f0f06 100644 --- a/buildout/tests/assertSoftware.py +++ b/buildout/tests/assertSoftware.py @@ -1519,6 +1519,21 @@ class AssertOpenssl(AssertSoftwareMixin): software in ['openssl']] self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list']) +class AssertCyrusSasl(AssertSoftwareMixin): + def test_ld_libsasl2(self): + elf_dict = readElfAsDict('parts/cyrus-sasl/lib/libsasl2.so') + self.assertEqual(sorted([ + 'libc', + 'libdl', + 'libresolv', + ]), + 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 [ + ]] + self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list']) + class AssertElfLinkedInternally(AssertSoftwareMixin): def test(self): result_dict = {} -- 2.30.9