coreutils-8.26-test-lock.patch 896 B

123456789101112131415161718192021222324252627282930
  1. From 0d04ee8ddedb2bf33d64f148f246a3b7ec4fef21 Mon Sep 17 00:00:00 2001
  2. From: Kamil Dudka <kdudka@redhat.com>
  3. Date: Mon, 23 Jan 2017 12:35:41 +0100
  4. Subject: [PATCH] test-lock: disable the rwlock test
  5. It hangs indefinitely if the system rwlock implementation does not
  6. prevent writer starvation (and glibc does not implement it).
  7. Bug: http://www.mail-archive.com/bug-gnulib@gnu.org/msg33017.html
  8. ---
  9. gnulib-tests/test-lock.c | 2 +-
  10. 1 file changed, 1 insertion(+), 1 deletion(-)
  11. diff --git a/gnulib-tests/test-lock.c b/gnulib-tests/test-lock.c
  12. index aa6de27..5af0a6c 100644
  13. --- a/gnulib-tests/test-lock.c
  14. +++ b/gnulib-tests/test-lock.c
  15. @@ -42,7 +42,7 @@
  16. Uncomment some of these, to verify that all tests crash if no locking
  17. is enabled. */
  18. #define DO_TEST_LOCK 1
  19. -#define DO_TEST_RWLOCK 1
  20. +#define DO_TEST_RWLOCK 0
  21. #define DO_TEST_RECURSIVE_LOCK 1
  22. #define DO_TEST_ONCE 1
  23. --
  24. 2.7.4