From: Florian K. <fl...@ei...> - 2025-03-22 19:17:05
|
When I run perl tests/vg_regtest memcheck/tests/linux/debuginfod-check.vgtest I see this error: sh: 1: debuginfod: not found debuginfod-check: (skipping, prereq failed: ./debuginfod-check.pl) which is caused by debuginfod not being installed on my machine. The patch below suppressed the error message. OK? 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) }; |