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

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Nov 22 18:13:44 CET 2010


Author: luke
Date: Mon Nov 22 18:13:44 2010
New Revision: 40503

URL: http://svn.erp5.org?rev=40503&view=rev
Log:
 - initiate cyrus sasl linking assertions

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=40503&r1=40502&r2=40503&view=diff
==============================================================================
--- erp5/trunk/buildout/tests/assertSoftware.py [utf8] (original)
+++ erp5/trunk/buildout/tests/assertSoftware.py [utf8] Mon Nov 22 18:13:44 2010
@@ -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 = {}




More information about the Erp5-report mailing list