[Bug 2054902] Re: apport test error: /bin/bash not found
Benjamin Drung
2054902 at bugs.launchpad.net
Thu Apr 4 10:14:38 UTC 2024
Proposed fix: https://github.com/canonical/apport/pull/308
** Changed in: apport
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2054902
Title:
apport test error: /bin/bash not found
Status in Apport:
In Progress
Status in apport package in Ubuntu:
New
Bug description:
This looks like fallout from the completion of usrmerge.
https://autopkgtest.ubuntu.com/packages/apport
=================================== FAILURES ===================================
367s ___________________________ T.test_get_file_package ____________________________
367s
367s self = <tests.integration.test_packaging_apt_dpkg.T testMethod=test_get_file_package>
367s
367s def test_get_file_package(self):
367s """get_file_package() on installed files."""
367s > self.assertEqual(impl.get_file_package("/bin/bash"), "bash")
367s E AssertionError: None != 'bash'
367s
367s tests/integration/test_packaging_apt_dpkg.py:158: AssertionError
367s _______________________________ T.test_get_files _______________________________
367s
367s self = <tests.integration.test_packaging_apt_dpkg.T testMethod=test_get_files>
367s
367s def test_get_files(self):
367s """get_files()."""
367s self.assertRaises(ValueError, impl.get_files, "nonexisting")
367s > self.assertIn("/bin/bash", impl.get_files("bash"))
367s E AssertionError: '/bin/bash' not found in ['/.', '/etc', '/etc/bash.bashrc', '/etc/skel', '/etc/skel/.bash_logout', '/etc/skel/.bashrc', '/etc/skel/.profile', '/usr', '/usr/bin', '/usr/bin/bash', '/usr/bin/bashbug',
To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/2054902/+subscriptions
More information about the foundations-bugs
mailing list