repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tst-leaks: raise timeout to 5 seconds
[glibc.git]
/
localedata
/
tst-leaks.c
blob
3ac4a90da4421b3a87c7b897e900800d84facc80
1
#include <locale.h>
2
#include <mcheck.h>
3
4
static int
5
do_test
(
void
)
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
}
19
20
#define TIMEOUT 5
21
#define TEST_FUNCTION do_test ()
22
#include
"../test-skeleton.c"