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