From 8c57426fb6b21c6830d7a2c0a24956bf5c2c5157 Mon Sep 17 00:00:00 2001 From: Patrick Vacek Date: Thu, 31 May 2018 10:45:03 +0200 Subject: updater.py: Fix test broken by man/man-db upgrade. --- lib/oeqa/selftest/cases/updater.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/oeqa/selftest/cases/updater.py b/lib/oeqa/selftest/cases/updater.py index 2efef15..dc3f3a2 100644 --- a/lib/oeqa/selftest/cases/updater.py +++ b/lib/oeqa/selftest/cases/updater.py @@ -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) -- cgit v1.2.3-54-g00ecf