From: Florian Krohm Date: Sun, 23 Mar 2025 16:00:19 +0000 (+0000) Subject: Tweak debuginfod-check.pl X-Git-Tag: VALGRIND_3_25_0~89 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=18126eeccca9f257824ba3d899400cc21b4dff74;p=thirdparty%2Fvalgrind.git Tweak debuginfod-check.pl Testing the presence of debuginfod causes an error message in case it is not installed. Suppress that message. --- diff --git a/memcheck/tests/linux/debuginfod-check.pl b/memcheck/tests/linux/debuginfod-check.pl index 4a2c1c1e1..797aad210 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) };