From: Andreas Schwab Date: Sat, 10 Dec 2016 15:10:53 +0000 (+0100) Subject: Fix testsuite timeout handling X-Git-Tag: glibc-2.25~219 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fea34d51e03ec5ebf9b25cb3010751782bf27fb1;p=thirdparty%2Fglibc.git Fix testsuite timeout handling --- diff --git a/ChangeLog b/ChangeLog index 5a9191afafe..5d51e9ac29b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-12-10 Andreas Schwab + + * support/support_test_main.c (support_test_main): Use correct + timeout. + 2016-12-09 Carlos O'Donell Florian Weimer diff --git a/support/support_test_main.c b/support/support_test_main.c index 72771bf101d..e185281eaf2 100644 --- a/support/support_test_main.c +++ b/support/support_test_main.c @@ -338,7 +338,7 @@ support_test_main (int argc, char **argv, const struct test_config *config) /* Set timeout. */ signal (SIGALRM, signal_handler); - alarm (config->timeout * timeoutfactor); + alarm (timeout * timeoutfactor); /* Make sure we clean up if the wrapper gets interrupted. */ signal (SIGINT, signal_handler);