diff options
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/bbtests.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/lib/oeqa/selftest/cases/bbtests.py b/meta/lib/oeqa/selftest/cases/bbtests.py index b42bbb651d..89267c7145 100644 --- a/meta/lib/oeqa/selftest/cases/bbtests.py +++ b/meta/lib/oeqa/selftest/cases/bbtests.py | |||
@@ -145,12 +145,10 @@ INHERIT:remove = \"report-error\" | |||
145 | """) | 145 | """) |
146 | self.track_for_cleanup(os.path.join(self.builddir, "download-selftest")) | 146 | self.track_for_cleanup(os.path.join(self.builddir, "download-selftest")) |
147 | 147 | ||
148 | bitbake('-ccleanall man-db') | ||
149 | result = bitbake('-c fetch man-db', ignore_status=True) | 148 | result = bitbake('-c fetch man-db', ignore_status=True) |
150 | bitbake('-ccleanall man-db') | ||
151 | self.delete_recipeinc('man-db') | 149 | self.delete_recipeinc('man-db') |
152 | self.assertEqual(result.status, 1, msg="Command succeded when it should have failed. bitbake output: %s" % result.output) | 150 | self.assertEqual(result.status, 1, msg="Command succeded when it should have failed. bitbake output: %s" % result.output) |
153 | self.assertIn('Fetcher failure: Unable to find file file://invalid anywhere. The paths that were searched were:', result.output) | 151 | self.assertIn('Unable to get checksum for man-db SRC_URI entry invalid: file could not be found', result.output) |
154 | 152 | ||
155 | def test_rename_downloaded_file(self): | 153 | def test_rename_downloaded_file(self): |
156 | # TODO unique dldir instead of using cleanall | 154 | # TODO unique dldir instead of using cleanall |