From fd3a1fb7b1bc554858da26fb584b060ab1b31334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Tue, 23 Nov 2010 12:22:49 +0000 Subject: [PATCH] - start checking gettext git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40535 20353a03-c40f-0410-a6d1-a30d3c3de9de --- buildout/tests/assertSoftware.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/buildout/tests/assertSoftware.py b/buildout/tests/assertSoftware.py index ad9242257f..b0698d8167 100644 --- a/buildout/tests/assertSoftware.py +++ b/buildout/tests/assertSoftware.py @@ -1654,6 +1654,19 @@ class AssertPython26(AssertSoftwareMixin): ]] self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list']) +class AssertGettext(AssertSoftwareMixin): + def test_ld_libintl(self): + elf_dict = readElfAsDict('parts/gettext/lib/libintl.so') + self.assertEqual(sorted([ + '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 [ + ]] + self.assertEqual(sorted(expected_rpath_list), elf_dict['runpath_list']) + class AssertElfLinkedInternally(AssertSoftwareMixin): def test(self): result_dict = {} -- 2.30.9