diff options
author | bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2008-03-22 07:52:44 +0000 |
---|---|---|
committer | bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2008-03-22 07:52:44 +0000 |
commit | bce804c53421c9b1cf36b73c09122f0d9c8fbac7 (patch) | |
tree | 63b2f74466d2dff5bb11ddc48bc5acfeffd2808e /tests | |
parent | af025b859afec74dafdb6ae3336f95fb88d233f4 (diff) |
Filtered out platform-dependent error messages.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7744 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/filter_stderr_basic | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/filter_stderr_basic b/tests/filter_stderr_basic index 578aa7e2..43e3206f 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/" |