mirror of git://sourceware.org/git/glibc.git
Fix assertion failure on test timeout
This commit is contained in:
parent
9ce4ac64b2
commit
67f779f1ea
|
@ -1,3 +1,8 @@
|
|||
2016-12-15 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* support/support_test_main.c (support_test_main): Don't shadow
|
||||
file-local variable test_pid.
|
||||
|
||||
2016-12-15 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
[BZ #20947]
|
||||
|
|
|
@ -307,7 +307,7 @@ support_test_main (int argc, char **argv, const struct test_config *config)
|
|||
- set up the timer
|
||||
- fork and execute the function. */
|
||||
|
||||
pid_t test_pid = fork ();
|
||||
test_pid = fork ();
|
||||
if (test_pid == 0)
|
||||
{
|
||||
/* This is the child. */
|
||||
|
|
Loading…
Reference in New Issue