Skip to content

Commit

Permalink
tests: Add valgrind suppression for new linker write8 error on Debian…
Browse files Browse the repository at this point in the history
… testing
  • Loading branch information
martinpitt committed Mar 9, 2024
1 parent aae80c2 commit e333733
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ add_test_setup('default',

add_test_setup('valgrind',
exe_wrapper: [srcdir / 'umockdev-wrapper', 'valgrind', '-q', '--leak-check=full', '--show-possibly-lost=no',
'--gen-suppressions=all', '--suppressions=' + srcdir / 'valgrind.supp',
'--errors-for-leak-kinds=definite', '--error-exitcode=33',
'--trace-children=yes', '--trace-children-skip=/bin*,/usr/bin/*,/usr/local/bin/*'],
timeout_multiplier: 10,
Expand Down
11 changes: 11 additions & 0 deletions src/valgrind.supp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# started on Debian testing in March 2024
{
dyn_linker_invalid_write
Memcheck:Addr8
obj:/usr/lib/x86_64-linux-gnu/liblzma.so.5.6.0
...
fun:elf_machine_rela
fun:elf_dynamic_do_Rela
fun:_dl_relocate_object
...
}

0 comments on commit e333733

Please sign in to comment.