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

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