summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2018-05-31 10:45:03 +0200
committerPatrick Vacek <patrickvacek@gmail.com>2018-05-31 12:56:01 +0200
commit8c57426fb6b21c6830d7a2c0a24956bf5c2c5157 (patch)
tree2e8d32b17f69d8a4f5ca2f650f2705d6dfc8c422
parent52e20c85e8a39f3d9bfc27448f235c34b31491e6 (diff)
downloadmeta-updater-8c57426fb6b21c6830d7a2c0a24956bf5c2c5157.tar.gz
updater.py: Fix test broken by man/man-db upgrade.
-rw-r--r--lib/oeqa/selftest/cases/updater.py6
1 files 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):
71 71
72 logger.info('Running bitbake with man in the image package list') 72 logger.info('Running bitbake with man in the image package list')
73 self.append_config('IMAGE_INSTALL_append = " man "') 73 self.append_config('IMAGE_INSTALL_append = " man "')
74 bitbake('-c cleanall man') 74 bitbake('-c cleanall man-db')
75 bitbake('core-image-minimal') 75 bitbake('core-image-minimal')
76 result = runCmd('oe-pkgdata-util find-path /usr/bin/man') 76 result = runCmd('oe-pkgdata-util find-path /usr/bin/man')
77 self.assertEqual(result.output, 'man: /usr/bin/man') 77 self.assertEqual(result.output, 'man-db: /usr/bin/man')
78 path1 = os.path.realpath(image_path) 78 path1 = os.path.realpath(image_path)
79 size1 = os.path.getsize(path1) 79 size1 = os.path.getsize(path1)
80 logger.info('First image %s has size %i' % (path1, size1)) 80 logger.info('First image %s has size %i' % (path1, size1))
81 81
82 logger.info('Running bitbake without man in the image package list') 82 logger.info('Running bitbake without man in the image package list')
83 self.append_config('IMAGE_INSTALL_remove = " man "') 83 self.append_config('IMAGE_INSTALL_remove = " man "')
84 bitbake('-c cleanall man') 84 bitbake('-c cleanall man-db')
85 bitbake('core-image-minimal') 85 bitbake('core-image-minimal')
86 result = runCmd('oe-pkgdata-util find-path /usr/bin/man', ignore_status=True) 86 result = runCmd('oe-pkgdata-util find-path /usr/bin/man', ignore_status=True)
87 self.assertEqual(result.status, 1, "Status different than 1. output: %s" % result.output) 87 self.assertEqual(result.status, 1, "Status different than 1. output: %s" % result.output)