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

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