From: Bart Van Assche Date: Sat, 22 Mar 2008 07:52:44 +0000 (+0000) Subject: Filtered out platform-dependent error messages. X-Git-Tag: svn/VALGRIND_3_4_0~829 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2ae55aa144780624e7fdf69a0c662b59ca0463d0;p=thirdparty%2Fvalgrind.git Filtered out platform-dependent error messages. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7744 --- 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/"