gio/tests: Find "true" in PATH opposed to hardcoding the location
authorMike Ruprecht <mike.ruprecht@collabora.co.uk>
Thu, 25 Apr 2013 07:24:53 +0000 (02:24 -0500)
committerMike Ruprecht <mike.ruprecht@collabora.co.uk>
Thu, 25 Apr 2013 07:54:14 +0000 (02:54 -0500)
commitc027e88a30fc3c332c8955fdeef1bf5e15cc63fc
treed516a99d5762b747fd73bde1a205d1a3f8485597
parent8a6ae995ee53f09da60b60f853b597b23f9dc4c0
gio/tests: Find "true" in PATH opposed to hardcoding the location

Not all systems have /usr/bin/true. Some have it in /bin/true.
Instead of trying to guess a hardcoded path to find it, let
g_app_info_create_from_commandline() internally search PATH
to find the program.

https://bugzilla.gnome.org/show_bug.cgi?id=698655
gio/tests/desktop-app-info.c