The `make ltpchecks` target reports a failure in the munmap03 test case. This failure occurs because the test triggers Valgrind to log warnings such as: ==292328== Warning: client syscall munmap tried to modify addresses 0xffffffffffffffff-0x1ffe Since the tests are run with the -q (quiet) flag, warnings like this should ideally be suppressed. The attached patch ensures that these messages are hidden as expected.
Created attachment 181826 [details] proposed patch
Looks correct for -q. Since this is a generic handler I also removed the Warning from the {freebsd,solaris}/scalar.stderr.exp files since those tests are run with -q. Pushed as: commit 47f2f1df4112e9befe2d0039d7e4f6c957669b6e Author: Martin Cermak <mcermak@redhat.com> Date: Wed May 28 18:04:46 2025 +0200 Hide "client tried to modify addresses" warnings when -q (quiet) is set When -q is set, that is when verbosity is 0, the "client tried to modify addresses" warning should be hidden. Also remove the warning from {freebsd,solaris}/scalar.stderr.exp Reproducer: TESTS=munmap03 make -j$(nproc) ltpchecks https://bugs.kde.org/show_bug.cgi?id=504919