1# 2# Copyright OpenEmbedded Contributors 3# 4# SPDX-License-Identifier: MIT 5# 6from oeqa.selftest.case import OESelftestTestCase 7from oeqa.utils.commands import bitbake 8 9class WrapperTests(OESelftestTestCase): 10 def test_shebang_wrapper(self): 11 """ 12 Summary: Build a recipe which will fail if the cmdline_shebang_wrapper function is defective. 13 Expected: Exit status to be 0. 14 Author: Paulo Neves <ptsneves@gmail.com> 15 """ 16 res = bitbake("cmdline-shebang-wrapper-test -c install", ignore_status=False) 17