blob: 4490a73613309769bd77fd87892a3aad3bd56ad1 [file] [log] [blame] [edit]
#!/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()