[glib] logging test: unset G_MESSAGES_DEBUG



commit 8084047ee3fa639fc0ca33035356e2ce11f0cab6
Author: Ryan Lortie <desrt desrt ca>
Date:   Fri Mar 9 10:29:32 2012 -0500

    logging test: unset G_MESSAGES_DEBUG
    
    Having G_MESSAGES_DEBUG=all in the environment will fail this testcase.

 glib/tests/logging.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/glib/tests/logging.c b/glib/tests/logging.c
index aece490..8a6fe16 100644
--- a/glib/tests/logging.c
+++ b/glib/tests/logging.c
@@ -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/";);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]