]> git.ipfire.org Git - thirdparty/glibc.git/blame - localedata/tst-leaks.c
Initialize tunable list with the GLIBC_TUNABLES environment variable
[thirdparty/glibc.git] / localedata / tst-leaks.c
CommitLineData
7bcad280
UD
1#include <locale.h>
2#include <mcheck.h>
3
29955b5d
AS
4static int
5do_test (void)
7bcad280
UD
6{
7 int cnt;
8
9 mtrace ();
10
11 for (cnt = 0; cnt < 100; ++cnt)
12 {
13 setlocale (LC_ALL, "de_DE.ISO-8859-1");
14 setlocale (LC_ALL, "de_DE.UTF-8");
15 }
16
17 return 0;
18}
29955b5d 19
d714acac 20#define TIMEOUT 5
29955b5d
AS
21#define TEST_FUNCTION do_test ()
22#include "../test-skeleton.c"