X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=test%2Finternals%2Fsyslog.c;h=2811b75742840cad7e6c4f7f78e4bd7d1c3aeae3;hb=1200c464b6c9051340960e07f0d61a51dad71286;hp=4f6b7c228d51b68ccae81d17080ccd45ef8a256a;hpb=bf3d8259ac89ee4fe86b3f9e6df71f6e71e07fd2;p=platform%2Fupstream%2Fdbus.git diff --git a/test/internals/syslog.c b/test/internals/syslog.c index 4f6b7c2..2811b75 100644 --- a/test/internals/syslog.c +++ b/test/internals/syslog.c @@ -30,7 +30,6 @@ #include -#define DBUS_COMPILATION /* this test uses libdbus-internal */ #include #include @@ -54,7 +53,7 @@ test_syslog (Fixture *f, { if (g_test_trap_fork (0, 0)) { - _dbus_init_system_log (); + _dbus_init_system_log (FALSE); _dbus_system_log (DBUS_SYSTEM_LOG_FATAL, MESSAGE "%d", 23); /* should not be reached: exit 0 so the assertion in the main process * will fail */ @@ -66,7 +65,7 @@ test_syslog (Fixture *f, if (g_test_trap_fork (0, 0)) { - _dbus_init_system_log (); + _dbus_init_system_log (FALSE); _dbus_system_log (DBUS_SYSTEM_LOG_INFO, MESSAGE "%d", 42); _dbus_system_log (DBUS_SYSTEM_LOG_SECURITY, MESSAGE "%d", 666); exit (0); @@ -76,7 +75,7 @@ test_syslog (Fixture *f, g_test_trap_assert_stderr ("*" MESSAGE "42\n*" MESSAGE "666\n*"); /* manual test (this is the best we can do on Windows) */ - _dbus_init_system_log (); + _dbus_init_system_log (FALSE); _dbus_system_log (DBUS_SYSTEM_LOG_INFO, MESSAGE "%d", 42); _dbus_system_log (DBUS_SYSTEM_LOG_SECURITY, MESSAGE "%d", 666); }