summaryrefslogtreecommitdiff
path: root/testglib.c
diff options
context:
space:
mode:
Diffstat (limited to 'testglib.c')
-rw-r--r--testglib.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/testglib.c b/testglib.c
index 2b694cdcb..c196a2c0f 100644
--- a/testglib.c
+++ b/testglib.c
@@ -16,6 +16,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
+#undef G_LOG_DOMAIN
#include <stdio.h>
#include <string.h>
@@ -716,8 +717,13 @@ main (int argc,
}
g_byte_array_free (gbarray, TRUE);
-
g_print ("ok\n");
+ g_printerr ("g_log tests:");
+ g_warning ("harmless warning");
+ g_message ("the next warning is a test:");
+ string = NULL;
+ g_print (string);
+
return 0;
}