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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user