From 2ae55aa144780624e7fdf69a0c662b59ca0463d0 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 22 Mar 2008 07:52:44 +0000 Subject: [PATCH] Filtered out platform-dependent error messages. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7744 --- tests/filter_stderr_basic | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/filter_stderr_basic b/tests/filter_stderr_basic index 578aa7e2e5..43e3206fbc 100755 --- a/tests/filter_stderr_basic +++ b/tests/filter_stderr_basic @@ -41,6 +41,12 @@ $dir/filter_libc | # Remove line info out of order warnings sed "/warning: line info addresses out of order/d" | +# Older bash versions print abnormal termination messages on the stderr +# of the bash process. Newer bash versions redirect such messages properly. +# Suppress any redirected abnormal termination messages. You can find the +# complete list of messages in the bash source file siglist.c. +sed -r "/^(Segmentation fault|Alarm clock|Aborted)( \(core dumped\))?$/d" | + # Remove any ": dumping core" message as the user might have a # limit set that prevents the core dump sed "s/\(signal [0-9]* (SIG[A-Z]*)\): dumping core/\1/" -- 2.47.3