This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] tst-tzset: raise timeout to 5 seconds


This test is reliably taking 2.3 seconds on my system, and the default
is 2 seconds, so it always times out.  Bump it up to 5 seconds instead.
---
 ChangeLog            | 4 ++++
 timezone/tst-tzset.c | 1 +
 2 files changed, 5 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index eea74e9..2d3152d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-07-15  Mike Frysinger  <vapier@gentoo.org>
+
+	* timezone/tst-tzset.c (TIMEOUT): Define to 5.
+
 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
 
 	* sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
diff --git a/timezone/tst-tzset.c b/timezone/tst-tzset.c
index aefcc76..67bb288 100644
--- a/timezone/tst-tzset.c
+++ b/timezone/tst-tzset.c
@@ -25,6 +25,7 @@
 #include <time.h>
 #include <unistd.h>
 
+#define TIMEOUT 5
 static int do_test (void);
 #define TEST_FUNCTION do_test ()
 #include "../test-skeleton.c"
-- 
2.4.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]