Files
buildroot/support/testing/tests/package/sample_python_gobject.py
tiopex dcdaa3599c bump version to 2022.02.9
add miyoo_defconfig
2023-01-31 16:39:34 +01:00

15 lines
289 B
Python

#!/usr/bin/env python3
"""A simple test that uses python-gobject to find the path of sh."""
from gi.repository import GLib
def main():
sh_path = GLib.find_program_in_path('sh')
if sh_path == "/bin/sh":
return True
return False
if __name__ == '__main__':
main()