From 4cc1c913a03d9f6318453806494ca52ea3884d4a Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 12 Jan 2008 01:14:37 +0100 Subject: [PATCH] Increase the maximum allowed time for the test. --- ChangeLog | 7 ++++++- tests/test-memmem.c | 2 +- tests/test-strstr.c | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0feb06ed5f..82102a4ddf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,9 @@ -2008-01-10 Bruno Haible +2008-01-11 Bruno Haible + + * tests/test-memmem.c (main): Increase maximum allowed time. + * tests/test-strstr.c (main): Likewise. + +2008-01-11 Bruno Haible * doc/functions/memmem.texi: Add more precisions about platforms. * doc/functions/strstr.texi: Likewise. diff --git a/tests/test-memmem.c b/tests/test-memmem.c index 3ce54c7acc..58043cdcdc 100644 --- a/tests/test-memmem.c +++ b/tests/test-memmem.c @@ -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 { diff --git a/tests/test-strstr.c b/tests/test-strstr.c index a4cc0fc774..b03fcf9061 100644 --- a/tests/test-strstr.c +++ b/tests/test-strstr.c @@ -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 { -- 2.30.2