|
From: Tom H. <th...@cy...> - 2004-03-16 11:03:15
|
CVS commit by thughes:
Filter out the ": core dumped" message from test results as the user
running the tests might have a ulimit set that prevents the core dumps.
M +1 -1 memcheck/tests/badjump.stderr.exp 1.8
M +1 -1 none/tests/int.stderr.exp 1.2
M +5 -1 tests/filter_stderr_basic 1.17
--- valgrind/memcheck/tests/badjump.stderr.exp #1.7:1.8
@@ -6,5 +6,5 @@
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........: ???
--- valgrind/none/tests/int.stderr.exp #1.1:1.2
@@ -3,5 +3,5 @@
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)
--- valgrind/tests/filter_stderr_basic #1.16:1.17
@@ -34,3 +34,7 @@
# 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/"
|