From: Mark Wielaard Date: Fri, 11 Jul 2025 15:36:05 +0000 (+0200) Subject: Add auxprogs/filters/prctl10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e113cde88cb0f588a76d8ceaef2ce2a630d3b9a9;p=thirdparty%2Fvalgrind.git Add auxprogs/filters/prctl10 The LTP prctl10 test under memcheck has a child process dumping core. Filter out the normal warning about this. --- diff --git a/auxprogs/filters/prctl10 b/auxprogs/filters/prctl10 new file mode 100755 index 000000000..abed20384 --- /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 }