]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Skip unix only syslog test.
authorRalf Habacker <ralf.habacker@freenet.de>
Fri, 11 Oct 2013 22:59:22 +0000 (00:59 +0200)
committerRalf Habacker <ralf.habacker@freenet.de>
Mon, 6 Jan 2014 20:38:39 +0000 (21:38 +0100)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=41252
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
test/internals/syslog.c

index 2811b75742840cad7e6c4f7f78e4bd7d1c3aeae3..7e0eae79b8e50ff26ba93735c7b0fe8af332a889 100644 (file)
@@ -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);