From: Tom Hughes Date: Tue, 9 Mar 2004 09:16:35 +0000 (+0000) Subject: Add an alternate (appropriately filtered) result for some systems. X-Git-Tag: svn/VALGRIND_2_1_1~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44680654369adde4f0f775d04c3882a8d89defaa;p=thirdparty%2Fvalgrind.git Add an alternate (appropriately filtered) result for some systems. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2304 --- diff --git a/memcheck/tests/filter_stderr b/memcheck/tests/filter_stderr index df83eae8ca..8c2e0faba4 100755 --- a/memcheck/tests/filter_stderr +++ b/memcheck/tests/filter_stderr @@ -15,6 +15,9 @@ $dir/../../tests/filter_test_paths | # Anonymise paths like "(in /foo/bar/libc-baz.so)" sed "s/(in \/.*libc.*)$/(in \/...libc...)/" | +# Anonymise paths like "(within /foo/bar/libc-baz.so)" +sed "s/(within \/.*libc.*)$/(within \/...libc...)/" | + # Anonymise paths like "__libc_start_main (../foo/bar/libc-quux.c:129)" sed "s/__libc_\(.*\) (.*)$/__libc_\1 (...libc...)/" diff --git a/memcheck/tests/writev.stderr.exp2 b/memcheck/tests/writev.stderr.exp2 new file mode 100644 index 0000000000..37def67303 --- /dev/null +++ b/memcheck/tests/writev.stderr.exp2 @@ -0,0 +1,25 @@ + +Test file created. +Syscall param writev(vector[...]) contains uninitialised or unaddressable byte(s) + at 0x........: (within /...libc...) + by 0x........: main (writev.c:56) + Address 0x........ is not stack'd, malloc'd or free'd +Received EFAULT as expected + +Syscall param writev(vector) contains uninitialised or unaddressable byte(s) + at 0x........: (within /...libc...) + by 0x........: main (writev.c:68) + Address 0x........ is not stack'd, malloc'd or free'd +Received EINVAL as expected + +Syscall param readv(vector) contains uninitialised or unaddressable byte(s) + at 0x........: readv (in /...libc...) + by 0x........: main (writev.c:76) + Address 0x........ is not stack'd, malloc'd or free'd +Received EINVAL as expected + +ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) +malloc/free: in use at exit: 0 bytes in 0 blocks. +malloc/free: 0 allocs, 0 frees, 0 bytes allocated. +For a detailed leak analysis, rerun with: --leak-check=yes +For counts of detected errors, rerun with: -v