diff options
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/sysroot.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/sysroot.py b/meta/lib/oeqa/selftest/cases/sysroot.py index 315d1a61c2..9457f1e3ac 100644 --- a/meta/lib/oeqa/selftest/cases/sysroot.py +++ b/meta/lib/oeqa/selftest/cases/sysroot.py | |||
@@ -35,3 +35,13 @@ TESTSTRING:pn-sysroot-test-arch1 = "%s" | |||
35 | TESTSTRING:pn-sysroot-test-arch2 = "%s" | 35 | TESTSTRING:pn-sysroot-test-arch2 = "%s" |
36 | """ % (uuid1, uuid2)) | 36 | """ % (uuid1, uuid2)) |
37 | bitbake("sysroot-test") | 37 | bitbake("sysroot-test") |
38 | |||
39 | def test_sysroot_max_shebang(self): | ||
40 | """ | ||
41 | Summary: Check max shebang triggers. To confirm [YOCTO #11053] is closed. | ||
42 | Expected: Fail when a shebang bigger than the max shebang-size is reached. | ||
43 | Author: Paulo Neves <ptsneves@gmail.com> | ||
44 | """ | ||
45 | expected = "maximum shebang size exceeded, the maximum size is 128. [shebang-size]" | ||
46 | res = bitbake("sysroot-shebang-test-native -c populate_sysroot", ignore_status=True) | ||
47 | self.assertTrue(expected in res.output, msg=res.output) | ||