]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add an alternate (appropriately filtered) result for some systems.
authorTom Hughes <tom@compton.nu>
Tue, 9 Mar 2004 09:16:35 +0000 (09:16 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 9 Mar 2004 09:16:35 +0000 (09:16 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2304

memcheck/tests/filter_stderr
memcheck/tests/writev.stderr.exp2 [new file with mode: 0644]

index df83eae8ca07844b27dc8ad8b02c43a30bff8201..8c2e0faba4f534f73d390a5c24c50b73011c3528 100755 (executable)
@@ -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 (file)
index 0000000..37def67
--- /dev/null
@@ -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