Increase the maximum allowed time for the test.
authorBruno Haible <bruno@clisp.org>
Sat, 12 Jan 2008 00:14:37 +0000 (01:14 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 12 Jan 2008 00:14:37 +0000 (01:14 +0100)
ChangeLog
tests/test-memmem.c
tests/test-strstr.c

index 0feb06e..82102a4 100644 (file)
--- 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.
index 3ce54c7..58043cd 100644 (file)
@@ -42,7 +42,7 @@ main (int argc, char *argv[])
      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
 
   {
index a4cc0fc..b03fcf9 100644 (file)
@@ -42,7 +42,7 @@ main (int argc, char *argv[])
      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
 
   {