mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
d714acac7d
This test takes about 2.3 seconds on my tilegx system, and so times out. Bump it up to 5 seconds instead.
23 lines
325 B
C
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"
|