04161d
From 0d04ee8ddedb2bf33d64f148f246a3b7ec4fef21 Mon Sep 17 00:00:00 2001
04161d
From: Kamil Dudka <kdudka@redhat.com>
04161d
Date: Mon, 23 Jan 2017 12:35:41 +0100
04161d
Subject: [PATCH] test-lock: disable the rwlock test
04161d
04161d
It hangs indefinitely if the system rwlock implementation does not
04161d
prevent writer starvation (and glibc does not implement it).
04161d
04161d
Bug: http://www.mail-archive.com/bug-gnulib@gnu.org/msg33017.html
04161d
---
04161d
 gnulib-tests/test-lock.c | 2 +-
04161d
 1 file changed, 1 insertion(+), 1 deletion(-)
04161d
04161d
diff --git a/gnulib-tests/test-lock.c b/gnulib-tests/test-lock.c
04161d
index aa6de27..5af0a6c 100644
04161d
--- a/gnulib-tests/test-lock.c
04161d
+++ b/gnulib-tests/test-lock.c
04161d
@@ -42,7 +42,7 @@
04161d
    Uncomment some of these, to verify that all tests crash if no locking
04161d
    is enabled.  */
04161d
 #define DO_TEST_LOCK 1
04161d
-#define DO_TEST_RWLOCK 1
04161d
+#define DO_TEST_RWLOCK 0
04161d
 #define DO_TEST_RECURSIVE_LOCK 1
04161d
 #define DO_TEST_ONCE 1
04161d
 
04161d
-- 
04161d
2.7.4
04161d