]> git.ipfire.org Git - thirdparty/elfutils.git/commit
tests/backtrace-subr.sh: Avoid valgrind track-fds in check_native_core
authorAaron Merey <amerey@redhat.com>
Fri, 31 Jan 2025 01:17:28 +0000 (20:17 -0500)
committerAaron Merey <amerey@redhat.com>
Fri, 7 Feb 2025 22:13:51 +0000 (17:13 -0500)
commit91d89c007b1a99bfdff79fa5dd55a208289cec1e
tree062d19d1b6eea1daef5f0a6fcb68d3e8ede3e9de
parent78bdee7cb881b6b6df23872d898458fa4b486ac0
tests/backtrace-subr.sh: Avoid valgrind track-fds in check_native_core

valgrind --track-fds=yes might incorrectly report an error due to the use
of inherited file descriptors in check_native_core.

Prevent this false positive by temporarily removing "--track-fds=yes" from
$VALGRIND_CMD for the duration of the testrun in check_native_core.

Signed-off-by: Aaron Merey <amerey@redhat.com>
tests/backtrace-subr.sh