Blame SOURCES/findutils-4.6.0-test-lock.patch

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