glibc/localedata/tst-leaks.c
Chris Metcalf d714acac7d tst-leaks: raise timeout to 5 seconds
This test takes about 2.3 seconds on my tilegx system, and so
times out.  Bump it up to 5 seconds instead.
2015-07-20 17:32:34 -04:00

23 lines
325 B
C

#include <locale.h>
#include <mcheck.h>
static int
do_test (void)
{
int cnt;
mtrace ();
for (cnt = 0; cnt < 100; ++cnt)
{
setlocale (LC_ALL, "de_DE.ISO-8859-1");
setlocale (LC_ALL, "de_DE.UTF-8");
}
return 0;
}
#define TIMEOUT 5
#define TEST_FUNCTION do_test ()
#include "../test-skeleton.c"