/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test558
52 строки
829 B
Viktor Szakats
tests/data: add XML prolog to test files
12 дек 2025, 19:17
Не верифицирован
12 дек 2025, 19:17
b5ea073
Код
Авторство
О чём код?
<?xml version="1.0" encoding="US-ASCII"?> <testcase> <info> <keywords> TrackMemory </keywords> </info> # Server-side <reply> </reply> # Client-side <client> <features> TrackMemory IPv6 </features> # tool is what to use instead of 'curl' <tool> lib%TESTNUMBER </tool> <name> libtest memory tracking operational </name> </client> # Verify data after the test has been "shot" <verify> <file name="%LOGDIR/memdump"> MEM easy.c: malloc() MEM lib%TESTNUMBER.c: malloc() MEM lib%TESTNUMBER.c: free() MEM dynbuf.c: realloc() MEM dynbuf.c: realloc() MEM escape.c: free() MEM easy.c: free() </file> <stripfile> s/^MEM escape.c:\d+ free\(\(nil\)\)[\n]$// s/ =.*// s/\(.*\)/()/ s/:\d+/:/ s:^(MEM |FD )(.*[/\\])(.*):$1$3: s/\r\n/\n/ s/^MEM getenv.c: realloc\(\)[\n]$// s/^MEM getenv.c: free\(\)[\n]$// </stripfile> </verify> </testcase>