updater.py: Fix test broken by man/man-db upgrade.
@@ -71,17 +71,17 @@ class GeneralTests(OESelftestTestCase):
logger.info('Running bitbake with man in the image package list')
self.append_config('IMAGE_INSTALL_append = " man "')
- bitbake('-c cleanall man')
+ bitbake('-c cleanall man-db')
bitbake('core-image-minimal')
result = runCmd('oe-pkgdata-util find-path /usr/bin/man')
- self.assertEqual(result.output, 'man: /usr/bin/man')
+ self.assertEqual(result.output, 'man-db: /usr/bin/man')
path1 = os.path.realpath(image_path)
size1 = os.path.getsize(path1)
logger.info('First image %s has size %i' % (path1, size1))
logger.info('Running bitbake without man in the image package list')
self.append_config('IMAGE_INSTALL_remove = " man "')
- bitbake('-c cleanall man')
+ bitbake('-c cleanall man-db')
bitbake('core-image-minimal')
result = runCmd('oe-pkgdata-util find-path /usr/bin/man', ignore_status=True)
self.assertEqual(result.status, 1, "Status different than 1. output: %s" % result.output)
