summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/glib/files/glib-2.34.3-testsuite-skip-gdbus-auth-tests.patch')
-rw-r--r--dev-libs/glib/files/glib-2.34.3-testsuite-skip-gdbus-auth-tests.patch62
1 files changed, 62 insertions, 0 deletions
diff --git a/dev-libs/glib/files/glib-2.34.3-testsuite-skip-gdbus-auth-tests.patch b/dev-libs/glib/files/glib-2.34.3-testsuite-skip-gdbus-auth-tests.patch
new file mode 100644
index 000000000000..c7c3f3364f4f
--- /dev/null
+++ b/dev-libs/glib/files/glib-2.34.3-testsuite-skip-gdbus-auth-tests.patch
@@ -0,0 +1,62 @@
+From 86bc94d3783ba53a944451f4eba4c78130eeef3b Mon Sep 17 00:00:00 2001
+From: Priit Laes <plaes@plaes.org>
+Date: Tue, 3 Jul 2012 12:50:44 +0300
+Subject: [PATCH] Gentoo: skip over gdbus-auth /gdbus/auth/*/DBUS_COOKIE_SHA1
+ tests
+
+https://bugzilla.gnome.org/show_bug.cgi?id=679308
+---
+ gio/tests/gdbus-auth.c | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/gio/tests/gdbus-auth.c b/gio/tests/gdbus-auth.c
+index 737770e..d528c6b 100644
+--- a/gio/tests/gdbus-auth.c
++++ b/gio/tests/gdbus-auth.c
+@@ -89,11 +89,14 @@ auth_client_external (void)
+ auth_client_mechanism ("EXTERNAL");
+ }
+
++#if 0
++// https://bugzilla.gnome.org/show_bug.cgi?id=679308
+ static void
+ auth_client_dbus_cookie_sha1 (void)
+ {
+ auth_client_mechanism ("DBUS_COOKIE_SHA1");
+ }
++#endif
+
+ /* ---------------------------------------------------------------------------------------------------- */
+
+@@ -250,11 +253,13 @@ auth_server_external (void)
+ auth_server_mechanism ("EXTERNAL");
+ }
+
++#if 0
+ static void
+ auth_server_dbus_cookie_sha1 (void)
+ {
+ auth_server_mechanism ("DBUS_COOKIE_SHA1");
+ }
++#endif
+
+ /* ---------------------------------------------------------------------------------------------------- */
+
+@@ -272,10 +277,14 @@ main (int argc,
+ session_bus_up ();
+
+ g_test_add_func ("/gdbus/auth/client/EXTERNAL", auth_client_external);
++#if 0
+ g_test_add_func ("/gdbus/auth/client/DBUS_COOKIE_SHA1", auth_client_dbus_cookie_sha1);
++#endif
+ g_test_add_func ("/gdbus/auth/server/ANONYMOUS", auth_server_anonymous);
++#if 0
+ g_test_add_func ("/gdbus/auth/server/EXTERNAL", auth_server_external);
+ g_test_add_func ("/gdbus/auth/server/DBUS_COOKIE_SHA1", auth_server_dbus_cookie_sha1);
++#endif
+
+ ret = g_test_run();
+
+--
+1.8.3.2
+