]> 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>
Tue, 4 Feb 2025 20:28:42 +0000 (15:28 -0500)
commitced3708deff497bdb299268807f656add9fa7d01
treecaf46cffe94614efd23e37bb91026857e0ce6299
parentcc1a6c088f2f5cdd2eb1dbf7856e50f6d6f7869f
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