From b4476f8cc0562d9f2ee8b0697f6791ef2b8afcf6 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 2 Nov 2015 14:35:57 +0000 Subject: [PATCH] Don't use _dbus_warn() for intentionally-skipped tests The tests are run with _dbus_warn() fatal, so if a particular test is not applicable on the current platform, we shouldn't call it. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=92721 --- dbus/dbus-auth-script.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbus/dbus-auth-script.c b/dbus/dbus-auth-script.c index 7387220..60d3053 100644 --- a/dbus/dbus-auth-script.c +++ b/dbus/dbus-auth-script.c @@ -339,7 +339,7 @@ _dbus_auth_script_run (const DBusString *filename) "UNIX_ONLY")) { /* skip this file */ - _dbus_warn ("skipping unix only auth script\n"); + fprintf (stderr, "skipping unix only auth script\n"); retval = TRUE; goto out; } @@ -355,7 +355,7 @@ _dbus_auth_script_run (const DBusString *filename) "WIN_ONLY")) { /* skip this file */ - _dbus_warn ("skipping windows only auth script\n"); + fprintf (stderr, "skipping windows only auth script\n"); retval = TRUE; goto out; } -- 2.6.2