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

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