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

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