diff --git a/gio/tests/desktop-app-info.c b/gio/tests/desktop-app-info.c index e4010b8ce..dd41af842 100644 --- a/gio/tests/desktop-app-info.c +++ b/gio/tests/desktop-app-info.c @@ -451,6 +451,8 @@ run_apps (const gchar *command, else envp = g_environ_unsetenv (envp, "XDG_CURRENT_DESKTOP"); + envp = g_environ_setenv (envp, "G_MESSAGES_DEBUG", "", TRUE); + success = g_spawn_sync (NULL, argv, envp, 0, NULL, NULL, &out, NULL, &status, NULL); g_assert_true (success); g_assert_cmpuint (status, ==, 0);