logging test: unset G_MESSAGES_DEBUG
authorRyan Lortie <desrt@desrt.ca>
Fri, 9 Mar 2012 15:29:32 +0000 (10:29 -0500)
committerRyan Lortie <desrt@desrt.ca>
Fri, 9 Mar 2012 15:29:32 +0000 (10:29 -0500)
Having G_MESSAGES_DEBUG=all in the environment will fail this testcase.

glib/tests/logging.c

index aece490..8a6fe16 100644 (file)
@@ -261,6 +261,8 @@ bug653052 (void)
 int
 main (int argc, char *argv[])
 {
+  unsetenv ("G_MESSAGES_DEBUG");
+
   g_test_init (&argc, &argv, NULL);
   g_test_bug_base ("http://bugzilla.gnome.org/");