]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Tweak debuginfod-check.pl
authorFlorian Krohm <flo2030@eich-krohm.de>
Sun, 23 Mar 2025 16:00:19 +0000 (16:00 +0000)
committerFlorian Krohm <flo2030@eich-krohm.de>
Sun, 23 Mar 2025 16:00:19 +0000 (16:00 +0000)
Testing the presence of debuginfod causes an error message in
case it is not installed. Suppress that message.

memcheck/tests/linux/debuginfod-check.pl

index 4a2c1c1e1d9f11b6efbc8763c641670979336159..797aad210d4c1ec19539572227f5bc7e522b4f41 100755 (executable)
@@ -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) };