[PATCH] Fix testsuite timeout handling
Andreas Schwab
schwab@linux-m68k.org
Sat Dec 10 15:23:00 GMT 2016
* support/support_test_main.c (support_test_main): Use correct
timeout.
diff --git a/support/support_test_main.c b/support/support_test_main.c
index 72771bf101..e185281eaf 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);
--
2.11.0
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Libc-alpha
mailing list