]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Filtered out platform-dependent error messages.
authorBart Van Assche <bvanassche@acm.org>
Sat, 22 Mar 2008 07:52:44 +0000 (07:52 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sat, 22 Mar 2008 07:52:44 +0000 (07:52 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7744

tests/filter_stderr_basic

index 578aa7e2e51280ae2d0dd433ddd9919e5a95ae6d..43e3206fbca405e597c29c127e572e06b253e4bd 100755 (executable)
@@ -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/"