Fix /appinfo/mime tests
authorMartin Pitt <martinpitt@gnome.org>
Mon, 11 Mar 2013 08:29:34 +0000 (09:29 +0100)
committerMartin Pitt <martinpitt@gnome.org>
Tue, 12 Mar 2013 06:07:07 +0000 (07:07 +0100)
commit97050e503fc012239b61bef70df4e8f7586e3b7c
treeb01d8d101e737a86cb8ec9840de374fad4c55440
parent48b18041c119cfa28488663d044158f1502ee379
Fix /appinfo/mime tests

Commit f641699 (for bug 675333) introduced a check whether the Exec= program in
a .desktop actually exists. This broke the /appinfo/mime/* test cases which use
executable names like "my_app".

Use real ones instead (like "echo" and "sleep"), and add a new
/appinfo/mime/ignore-nonexisting test case which verifies that
g_desktop_app_info_new() indeed ignores nonexisting executables.

https://bugzilla.gnome.org/show_bug.cgi?id=695191
gio/tests/mimeapps.c