changeset 9608:fb28b78f856f

Increase the maximum allowed time for the test.
author Bruno Haible <bruno@clisp.org>
date Sat, 12 Jan 2008 01:14:37 +0100
parents 4e50412085c4
children 55121d90f0ce
files ChangeLog tests/test-memmem.c tests/test-strstr.c
diffstat 3 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
-2008-01-10  Bruno Haible  <bruno@clisp.org>
+2008-01-11  Bruno Haible  <bruno@clisp.org>
+
+	* tests/test-memmem.c (main): Increase maximum allowed time.
+	* tests/test-strstr.c (main): Likewise.
+
+2008-01-11  Bruno Haible  <bruno@clisp.org>
 
 	* doc/functions/memmem.texi: Add more precisions about platforms.
 	* doc/functions/strstr.texi: Likewise.
--- a/tests/test-memmem.c
+++ b/tests/test-memmem.c
@@ -42,7 +42,7 @@
      caused by SIGALRM.  All known platforms that lack alarm also lack
      memmem, and the replacement memmem is known to not take too
      long.  */
-  alarm (10);
+  alarm (100);
 #endif
 
   {
--- a/tests/test-strstr.c
+++ b/tests/test-strstr.c
@@ -42,7 +42,7 @@
      caused by SIGALRM.  All known platforms that lack alarm also have
      a quadratic strstr, and the replacement strstr is known to not
      take too long.  */
-  alarm (10);
+  alarm (50);
 #endif
 
   {