]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Filter out the ": core dumped" message from test results as the user
authorTom Hughes <tom@compton.nu>
Tue, 16 Mar 2004 11:03:09 +0000 (11:03 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 16 Mar 2004 11:03:09 +0000 (11:03 +0000)
running the tests might have a ulimit set that prevents the core dumps.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2327

memcheck/tests/badjump.stderr.exp
none/tests/int.stderr.exp
tests/filter_stderr_basic

index a01f6ec7a628ff5611a05713083a9505e937a5e7..c1fd9a09c5157f6eb4e5952cfb81e57d546e2ac5 100644 (file)
@@ -5,7 +5,7 @@ Jump to the invalid address stated on the next line
    by 0x........: ...
  Address 0x........ is not stack'd, malloc'd or free'd
 
-Process terminating with default action of signal 11 (SIGSEGV): dumping core
+Process terminating with default action of signal 11 (SIGSEGV)
  Access not within mapped region at address 0x........
    at 0x........: ???
    by 0x........: __libc_start_main (...libc...)
index a37acd470cc2961f8452f7e083be878fd74dd491..2d84bbd26eba60636c1940528aeec16f0d9e481f 100644 (file)
@@ -2,7 +2,7 @@
 disInstr: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........
           at 0x........: main (int.c:5)
 
-Process terminating with default action of signal 4 (SIGILL): dumping core
+Process terminating with default action of signal 4 (SIGILL)
  Illegal operand at address 0x........
    at 0x........: main (int.c:5)
 
index 94e079d6fdf46060f567d8a3b198c9d0caddcf3f..7a25138cf91bc87db5547721451c4ae580840eea 100755 (executable)
@@ -33,4 +33,8 @@ sed "s/ __sigaction / sigaction /"                                     |
 sed "s/ __GI___/ __/"                                                  |
 
 # Remove line info out of order warnings
-sed "/warning: line info addresses out of order/d"
+sed "/warning: line info addresses out of order/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/"