mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:52:39 +02:00
Useful to work around shebang relocation issues, where shebangs are too long or have arguments in them, thus preventing them from using the /usr/bin/env shebang. (From OE-Core rev: 6edc1fffcbe1405d8c309a75643d7d6cd9a92848) Signed-off-by: Paulo Neves <ptsneves@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 lines
473 B
Python
12 lines
473 B
Python
from oeqa.selftest.case import OESelftestTestCase
|
|
from oeqa.utils.commands import bitbake
|
|
|
|
class WrapperTests(OESelftestTestCase):
|
|
def test_shebang_wrapper(self):
|
|
"""
|
|
Summary: Build a recipe which will fail if the cmdline_shebang_wrapper function is defective.
|
|
Expected: Exit status to be 0.
|
|
Author: Paulo Neves <ptsneves@gmail.com>
|
|
"""
|
|
res = bitbake("cmdline-shebang-wrapper-test -c install", ignore_status=False)
|