summaryrefslogtreecommitdiff
path: root/test/internals/syslog.c
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2014-10-01 19:45:00 +0100
committerSimon McVittie <smcv@debian.org>2014-10-01 19:45:00 +0100
commit255f62947424c4622609eb93ed53371dda28aac9 (patch)
tree6f8c5dbb96e48fa2d40919bb3282fae0b6d953de /test/internals/syslog.c
parentc03b8e681afa8e45977fc74e30142497939b47d1 (diff)
parent33ee25f98af863e9355fd53b9184c0b798343b89 (diff)
downloaddbus-upstream/1.9.0.tar.gz
Imported Upstream version 1.9.0upstream/1.9.0
Diffstat (limited to 'test/internals/syslog.c')
-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);