summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2013-10-12 00:59:22 +0200
committerRalf Habacker <ralf.habacker@freenet.de>2014-01-06 21:38:39 +0100
commit710bd4a94488585300458733748a0f2462abdf57 (patch)
treeaf800014aa8206cf4f2da4fc22a27e58146fa29d
parentfb16f80d457a66610f615b44158330bf7ba68697 (diff)
downloaddbus-710bd4a94488585300458733748a0f2462abdf57.tar.gz
Skip unix only syslog test.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=41252 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r--test/internals/syslog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/internals/syslog.c b/test/internals/syslog.c
index 2811b757..7e0eae79 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);