Test: grep \ in internal usecase test, valgrind exceptions for newer version

This commit is contained in:
Olof hagsand 2023-09-06 11:04:42 +02:00
parent b19b3a37fe
commit 17b64f0bab
2 changed files with 19 additions and 1 deletions

View file

@ -131,7 +131,8 @@ EOF
fi fi
if $active; then if $active; then
expect="^<rpc-reply $DEFAULTNS><active $LIBNS>$active</active><description $LIBNS>Clixon RESTCONF process</description><command $LIBNS>/.*/clixon_restconf -f $cfg -D [0-9] .*</command><status $LIBNS>$status</status><starttime $LIBNS>20[0-9][0-9]\-[0-9][0-9]\-[0-9][0-9]T[0-9][0-9]:[0-9][0-9]:[0-9][0-9]\.[0-9]*Z</starttime><pid $LIBNS>$pid</pid></rpc-reply>$" # \- causes problems on some(alpine)
expect="^<rpc-reply $DEFAULTNS><active $LIBNS>$active</active><description $LIBNS>Clixon RESTCONF process</description><command $LIBNS>/.*/clixon_restconf -f $cfg -D [0-9] .*</command><status $LIBNS>$status</status><starttime $LIBNS>20[0-9][0-9].[0-9][0-9].[0-9][0-9]T[0-9][0-9]:[0-9][0-9]:[0-9][0-9]\.[0-9]*Z</starttime><pid $LIBNS>$pid</pid></rpc-reply>$"
else else
# inactive, no startime or pid # inactive, no startime or pid
expect="^<rpc-reply $DEFAULTNS><active $LIBNS>$active</active><description $LIBNS>Clixon RESTCONF process</description><command $LIBNS>/.*/clixon_restconf -f $cfg -D [0-9] .*</command><status $LIBNS>$status</status></rpc-reply>$" expect="^<rpc-reply $DEFAULTNS><active $LIBNS>$active</active><description $LIBNS>Clixon RESTCONF process</description><command $LIBNS>/.*/clixon_restconf -f $cfg -D [0-9] .*</command><status $LIBNS>$status</status></rpc-reply>$"

View file

@ -3,6 +3,7 @@
Memcheck:Leak Memcheck:Leak
match-leak-kinds: reachable match-leak-kinds: reachable
fun:* fun:*
fun:*
fun:_dl_new_object fun:_dl_new_object
} }
{ {
@ -25,6 +26,7 @@
Memcheck:Leak Memcheck:Leak
match-leak-kinds: reachable match-leak-kinds: reachable
fun:* fun:*
fun:*
fun:_dl_check_map_versions fun:_dl_check_map_versions
} }
{ {
@ -59,3 +61,18 @@
fun:* fun:*
fun:_dl_close_worker fun:_dl_close_worker
} }
# obsolete
{
supp1x
Memcheck:Leak
match-leak-kinds: reachable
fun:*
fun:_dl_new_object
}
{
supp2x
Memcheck:Leak
match-leak-kinds: reachable
fun:*
fun:expand_dynamic_string_token
}