From 94610d7de6c9a00729a53c4bc9f6517c62696732 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 3 Feb 2015 14:45:35 +0000 Subject: Add a common test_init() for GLib tests which prevents hanging forever Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46787 Reviewed-by: Philip Withnall --- test/sd-activation.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/sd-activation.c') diff --git a/test/sd-activation.c b/test/sd-activation.c index 14e4ae80..b9ea323f 100644 --- a/test/sd-activation.c +++ b/test/sd-activation.c @@ -309,8 +309,7 @@ int main (int argc, char **argv) { - g_test_init (&argc, &argv, NULL); - g_test_bug_base ("https://bugs.freedesktop.org/show_bug.cgi?id="); + test_init (&argc, &argv); g_test_add ("/sd-activation", Fixture, NULL, setup, test_activation, teardown); -- cgit v1.2.1