GNOME Bugzilla – Bug 695191
Commit f641699 broke /appinfo/mime/api test case
Last modified: 2013-03-12 06:07:37 UTC
The recent commit http://git.gnome.org/browse/glib/commit/?id=f641699 for bug 675333 broke the gio/tests/mimeapps tests: TEST: mimeapps... (pid=77385) /appinfo/mime/api: (/home/ubuntu/gnome/checkout/glib/gio/tests/.libs/lt-mimeapps:77385): GLib-GIO-CRITICAL **: g_app_info_add_supports_type: assertion `G_IS_APP_INFO (appinfo)' failed Full log: http://10.98.0.1:8080/view/Raring/view/JHBuild%20Gnome/job/jhbuild-amd64-glib/159/artifact/glib.log Presumably because the test desktop files use Exec= lines like "my app" which don't actually exist. I figure the tests should be updated to use "Exec=sleep 1" and other commands which are guaranteed to be available, and perhaps one test case which actually exercises the new commit to reject .desktop files with a nonexisting Exec=?
sounds good to me (using 'sleep 1') - could you come up with a patch for that ?
*** Bug 695239 has been marked as a duplicate of this bug. ***
Created attachment 238564 [details] [review] Fix /appinfo/mime tests How about this? I verified that the new test case fails without commit f641699, and all tests succeed again now.
Review of attachment 238564 [details] [review]: Looks ok, thanks