|
@@ -197,3 +197,9 @@ PREMIRRORS = "\\
|
|
|
|
|
|
bitbake("world --runall fetch")
|
|
bitbake("world --runall fetch")
|
|
|
|
|
|
|
|
+
|
|
|
|
+class Poisoning(OESelftestTestCase):
|
|
|
|
+ def test_poisoning(self):
|
|
|
|
+ res = bitbake("poison", ignore_status=True)
|
|
|
|
+ self.assertNotEqual(res.status, 0)
|
|
|
|
+ self.assertTrue("is unsafe for cross-compilation" in res.output)
|