Blame SOURCES/coreutils-8.26-test-lock.patch

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