10a327
From 129f23ce758620fade812baab811379ce8454048 Mon Sep 17 00:00:00 2001
10a327
From: rpm-build <rpm-build>
10a327
Date: Fri, 27 Jan 2017 11:44:41 +0100
10a327
Subject: [PATCH] test-lock: disable the rwlock test
10a327
10a327
It hangs indefinitely if the system rwlock implementation does not
10a327
prevent writer starvation (and glibc does not implement it).
10a327
10a327
Bug: http://www.mail-archive.com/bug-gnulib@gnu.org/msg33017.html
10a327
---
10a327
 tests/test-lock.c | 2 +-
10a327
 1 file changed, 1 insertion(+), 1 deletion(-)
10a327
10a327
diff --git a/tests/test-lock.c b/tests/test-lock.c
10a327
index a992f64..fd9c014 100644
10a327
--- a/tests/test-lock.c
10a327
+++ b/tests/test-lock.c
10a327
@@ -42,7 +42,7 @@
10a327
    Uncomment some of these, to verify that all tests crash if no locking
10a327
    is enabled.  */
10a327
 #define DO_TEST_LOCK 1
10a327
-#define DO_TEST_RWLOCK 1
10a327
+#define DO_TEST_RWLOCK 0
10a327
 #define DO_TEST_RECURSIVE_LOCK 1
10a327
 #define DO_TEST_ONCE 1
10a327
 
10a327
-- 
10a327
2.7.4
10a327