|
From: Tom H. <th...@cy...> - 2005-02-11 09:51:02
|
CVS commit by thughes:
Strip the libc path as not all systems use the same version of libc.
M +2 -2 async-sigs.stderr.exp 1.3
M +4 -1 filter_stderr 1.7
--- valgrind/none/tests/async-sigs.stderr.exp #1.2:1.3
@@ -14,5 +14,5 @@
Process terminating with default action of signal 7 (SIGBUS)
- at 0x........: pause (in /lib/tls/libc-2.3.3.so)
+ at 0x........: pause (in /...libc...)
by 0x........: main (async-sigs.c:117)
@@ -20,5 +20,5 @@
Process terminating with default action of signal 7 (SIGBUS)
- at 0x........: pause (in /lib/tls/libc-2.3.3.so)
+ at 0x........: pause (in /...libc...)
by 0x........: main (async-sigs.c:117)
--- valgrind/none/tests/filter_stderr #1.6:1.7
@@ -6,3 +6,6 @@
# Anonymise addresses
-$dir/../../tests/filter_addresses
+$dir/../../tests/filter_addresses |
+
+# Anonymise paths like "(in /foo/bar/libc-baz.so)"
+sed "s/(in \/.*libc.*)$/(in \/...libc...)/"
|