|
@@ -35,3 +35,13 @@ TESTSTRING:pn-sysroot-test-arch1 = "%s"
|
|
|
TESTSTRING:pn-sysroot-test-arch2 = "%s"
|
|
|
""" % (uuid1, uuid2))
|
|
|
bitbake("sysroot-test")
|
|
|
+
|
|
|
+ def test_sysroot_max_shebang(self):
|
|
|
+ """
|
|
|
+ Summary: Check max shebang triggers. To confirm [YOCTO #11053] is closed.
|
|
|
+ Expected: Fail when a shebang bigger than the max shebang-size is reached.
|
|
|
+ Author: Paulo Neves <ptsneves@gmail.com>
|
|
|
+ """
|
|
|
+ expected = "maximum shebang size exceeded, the maximum size is 128. [shebang-size]"
|
|
|
+ res = bitbake("sysroot-shebang-test-native -c populate_sysroot", ignore_status=True)
|
|
|
+ self.assertTrue(expected in res.output, msg=res.output)
|