From: Florian K. <fk...@so...> - 2025-03-23 16:01:10
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=18126eeccca9f257824ba3d899400cc21b4dff74 commit 18126eeccca9f257824ba3d899400cc21b4dff74 Author: Florian Krohm <fl...@ei...> Date: Sun Mar 23 16:00:19 2025 +0000 Tweak debuginfod-check.pl Testing the presence of debuginfod causes an error message in case it is not installed. Suppress that message. Diff: --- memcheck/tests/linux/debuginfod-check.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/memcheck/tests/linux/debuginfod-check.pl b/memcheck/tests/linux/debuginfod-check.pl index 4a2c1c1e1d..797aad210d 100755 --- a/memcheck/tests/linux/debuginfod-check.pl +++ b/memcheck/tests/linux/debuginfod-check.pl @@ -30,8 +30,8 @@ sub mysystem($) } # Check that debuginfod and debuginfod-find can be found -mysystem("debuginfod --help > /dev/null"); -mysystem("debuginfod-find --help > /dev/null"); +mysystem("debuginfod --help > /dev/null 2> /dev/null"); +mysystem("debuginfod-find --help > /dev/null 2> /dev/null"); $SIG{'INT'} = sub { cleanup_and_exit(1) }; |