1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00

Fix testsuite timeout handling

This commit is contained in:
Andreas Schwab
2016-12-10 16:10:53 +01:00
parent 0abbe7cd70
commit fea34d51e0
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
* support/support_test_main.c (support_test_main): Use correct
timeout.
2016-12-09 Carlos O'Donell <carlos@redhat.com>
Florian Weimer <fweimer@redhat.com>

View File

@@ -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);