From 136a828183fa0ff7388f8caf51ab65a4b665e41e Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Sat, 12 Oct 2013 00:59:22 +0200 Subject: [PATCH 9/9] Skip unix only syslog test. --- test/internals/syslog.c | 3 ++- 1 Datei geändert, 2 Zeilen hinzugefügt(+), 1 Zeile entfernt(-) diff --git a/test/internals/syslog.c b/test/internals/syslog.c index 2811b75..7e0eae7 100644 --- a/test/internals/syslog.c +++ b/test/internals/syslog.c @@ -51,6 +51,7 @@ static void test_syslog (Fixture *f, gconstpointer data) { +#ifndef G_OS_WIN32 if (g_test_trap_fork (0, 0)) { _dbus_init_system_log (FALSE); @@ -73,7 +74,7 @@ test_syslog (Fixture *f, g_test_trap_assert_passed (); g_test_trap_assert_stderr ("*" MESSAGE "42\n*" MESSAGE "666\n*"); - +#endif /* manual test (this is the best we can do on Windows) */ _dbus_init_system_log (FALSE); _dbus_system_log (DBUS_SYSTEM_LOG_INFO, MESSAGE "%d", 42); -- 1.7.10.4