1
0
mirror of https://passt.top/passt synced 2024-06-30 06:52:40 +00:00
passt/test/valgrind.supp
Stefano Brivio 66a95e331e test, seccomp, Makefile: Switch to valgrind runs for passt functional tests
Pass to seccomp.sh a list of additional syscalls valgrind needs as
EXTRA_SYSCALLS in a new 'valgrind' make target, and add corresponding
support in seccomp.sh itself.

In test setup functions, start passt with valgrind, but not for
performance tests.

Add tests checking that valgrind exits without errors after all the
other tests in the group are done.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
2022-03-29 15:35:38 +02:00

10 lines
214 B
Plaintext

# tcp_sock_consume() calls recv() with MSG_TRUNC and no buffer to discard data
{
passt_recv_MSG_TRUNC_into_NULL_buffer
Memcheck:Param
socketcall.recvfrom(buf)
fun:recv
...
fun:tcp_sock_consume*
}