diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/oeqa/selftest/cases/updater.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/oeqa/selftest/cases/updater.py b/lib/oeqa/selftest/cases/updater.py index 2efef15..0253a84 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) |
| @@ -439,8 +439,7 @@ class HsmTests(OESelftestTestCase): | |||
| 439 | # Strip off line ending. | 439 | # Strip off line ending. |
| 440 | value = stdout.decode()[:-1] | 440 | value = stdout.decode()[:-1] |
| 441 | self.assertEqual(value, machine, | 441 | self.assertEqual(value, machine, |
| 442 | 'MACHINE does not match hostname: ' + machine + ', ' + value + | 442 | 'MACHINE does not match hostname: ' + machine + ', ' + value) |
| 443 | '\nIs tianocore ovmf installed?') | ||
| 444 | print(value) | 443 | print(value) |
| 445 | print('Checking output of aktualizr-info:') | 444 | print('Checking output of aktualizr-info:') |
| 446 | ran_ok = False | 445 | ran_ok = False |
