summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r--meta/lib/oeqa/selftest/cases/runtime_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 30fd9b2a50..376c3c5146 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -249,8 +249,8 @@ class Postinst(OESelftestTestCase):
249 features = 'CORE_IMAGE_EXTRA_INSTALL = "postinst-rootfs-failing"\n' 249 features = 'CORE_IMAGE_EXTRA_INSTALL = "postinst-rootfs-failing"\n'
250 features += 'PACKAGE_CLASSES = "%s"\n' % classes 250 features += 'PACKAGE_CLASSES = "%s"\n' % classes
251 self.write_config(features) 251 self.write_config(features)
252 bb_result = bitbake('core-image-minimal') 252 bb_result = bitbake('core-image-minimal', ignore_status=True)
253 self.assertGreaterEqual(bb_result.output.find("Intentionally failing postinstall scriptlets of ['postinst-rootfs-failing'] to defer them to first boot is deprecated."), 0, 253 self.assertGreaterEqual(bb_result.output.find("Postinstall scriptlets of ['postinst-rootfs-failing'] have failed."), 0,
254 "Warning about a failed scriptlet not found in bitbake output: %s" %(bb_result.output)) 254 "Warning about a failed scriptlet not found in bitbake output: %s" %(bb_result.output))
255 255
256 self.assertTrue(os.path.isfile(os.path.join(hosttestdir, "rootfs-before-failure")), 256 self.assertTrue(os.path.isfile(os.path.join(hosttestdir, "rootfs-before-failure")),