8ae002
commit 7f786dc12bd60f0a134e538429fef98350e4c814
8ae002
Author: Torvald Riegel <triegel@redhat.com>
8ae002
Date:   Mon Dec 15 22:09:55 2014 +0100
8ae002
8ae002
    Fix nptl/tst-mutex5.c: Do not skip tests if elision is enabled.
8ae002
Index: glibc-2.17-c758a686/nptl/tst-mutex5.c
8ae002
===================================================================
8ae002
--- glibc-2.17-c758a686.orig/nptl/tst-mutex5.c
8ae002
+++ glibc-2.17-c758a686/nptl/tst-mutex5.c
8ae002
@@ -86,8 +86,6 @@ do_test (void)
8ae002
       return 1;
8ae002
     }
8ae002
 
8ae002
-  /* Elided locks do not time out.  */
8ae002
-#ifndef ENABLE_LOCK_ELISION
8ae002
   if (pthread_mutex_trylock (&m) == 0)
8ae002
     {
8ae002
       puts ("mutex_trylock succeeded");
8ae002
@@ -183,7 +181,6 @@ do_test (void)
8ae002
       puts ("3rd timedlock didn't return right away");
8ae002
       return 1;
8ae002
     }
8ae002
-#endif
8ae002
 
8ae002
   if (pthread_mutex_unlock (&m) != 0)
8ae002
     {