mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
malloc: Run tst-malloc-stats-cancellation via test-driver.c
This allows the test to time out in case it hangs. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
parent
e9eeeb3a58
commit
0a282de11b
@ -91,8 +91,8 @@ buffer_threadproc (void *argp)
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
main (void)
|
||||
static int
|
||||
do_test (void)
|
||||
{
|
||||
int result = 0, err, real_stderr_fd, bufpipe[2];
|
||||
pthread_t t_thr, b_thr;
|
||||
@ -214,3 +214,5 @@ main (void)
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
#include <support/test-driver.c>
|
||||
|
Loading…
Reference in New Issue
Block a user