From: Mark W. <ma...@so...> - 2025-07-11 15:37:26
|
https://sourceware.org/cgit/valgrind/commit/?id=e113cde88cb0f588a76d8ceaef2ce2a630d3b9a9 commit e113cde88cb0f588a76d8ceaef2ce2a630d3b9a9 Author: Mark Wielaard <ma...@kl...> Date: Fri Jul 11 17:36:05 2025 +0200 Add auxprogs/filters/prctl10 The LTP prctl10 test under memcheck has a child process dumping core. Filter out the normal warning about this. Diff: --- auxprogs/filters/prctl10 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/auxprogs/filters/prctl10 b/auxprogs/filters/prctl10 new file mode 100755 index 0000000000..abed203843 --- /dev/null +++ b/auxprogs/filters/prctl10 @@ -0,0 +1,18 @@ +#!/bin/awk -f + +# Filter out stuff like the following, since it is expected output for the +# prctl10 testcase: + +# ==298306== +# ==298306== Process terminating with default action of signal 11 (SIGSEGV): dumping core +# ==298306== General Protection Fault +# ==298306== at 0x40152B: verify_prctl (prctl10.c:75) +# ==298306== by 0x40A894: fork_testrun.isra.0 (tst_test.c:1617) +# ==298306== by 0x40CC53: tst_run_tcases (tst_test.c:1970) +# ==298306== by 0x4011BD: main (tst_test.h:729) + +skip = 0 +/==[0-9][0-9]*==/ { skip = 1 } +/Process terminating with default action of signal 11/ { skip = 1; skipblock=1 } +/by.*main.*tst_test.h/ { skip = 1; skipblock=0 } +!skip && !skipblock { print } |