diff options
Diffstat (limited to 'meta/lib/oeqa')
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/wrapper.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/wrapper.py b/meta/lib/oeqa/selftest/cases/wrapper.py new file mode 100644 index 0000000000..6de63310c0 --- /dev/null +++ b/meta/lib/oeqa/selftest/cases/wrapper.py | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | from oeqa.selftest.case import OESelftestTestCase | ||
| 2 | from oeqa.utils.commands import bitbake | ||
| 3 | |||
| 4 | class WrapperTests(OESelftestTestCase): | ||
| 5 | def test_shebang_wrapper(self): | ||
| 6 | """ | ||
| 7 | Summary: Build a recipe which will fail if the cmdline_shebang_wrapper function is defective. | ||
| 8 | Expected: Exit status to be 0. | ||
| 9 | Author: Paulo Neves <ptsneves@gmail.com> | ||
| 10 | """ | ||
| 11 | res = bitbake("cmdline-shebang-wrapper-test -c install", ignore_status=False) | ||
