[2.22 COMMITTED] nptl/tst-once5: Reduce time to expected failure

Florian Weimer fweimer@redhat.com
Fri Jan 1 00:00:00 GMT 2016


(cherry picked from commit 1f645571d2db9008b3cd3d5acb9ff93357864283)

2016-08-17  Florian Weimer  <fweimer@redhat.com>

	Reduce time to expected nptl/tst-once5 failure.
	* nptl/tst-once5.cc (TIMEOUT): Define.

diff --git a/nptl/tst-once5.cc b/nptl/tst-once5.cc
index 60bc78a..a6985b0 100644
--- a/nptl/tst-once5.cc
+++ b/nptl/tst-once5.cc
@@ -76,5 +76,7 @@ do_test (void)
   return result;
 }
 
+// The test currently hangs and is XFAILed.  Reduce the timeout.
+#define TIMEOUT 1
 #define TEST_FUNCTION do_test ()
 #include "../test-skeleton.c"



More information about the Libc-stable mailing list