diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2015-02-03 14:45:35 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2015-02-04 17:15:36 +0000 |
commit | 94610d7de6c9a00729a53c4bc9f6517c62696732 (patch) | |
tree | 5ae63202bb93d0f500b5194cd13942fc6a3e4f51 /test/fdpass.c | |
parent | 1a28f82926c31ae17b8688bdeb6d68f29d628592 (diff) | |
download | dbus-94610d7de6c9a00729a53c4bc9f6517c62696732.tar.gz |
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 <philip.withnall@collabora.co.uk>
Diffstat (limited to 'test/fdpass.c')
-rw-r--r-- | test/fdpass.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/fdpass.c b/test/fdpass.c index d41dac5f..d7929a8f 100644 --- a/test/fdpass.c +++ b/test/fdpass.c @@ -807,8 +807,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 ("/relay", Fixture, NULL, setup, test_relay, teardown); |