]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add some alternate regression test results for older libc's.
authorTom Hughes <tom@compton.nu>
Sun, 7 Mar 2004 19:40:33 +0000 (19:40 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 7 Mar 2004 19:40:33 +0000 (19:40 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2294

corecheck/tests/fdleak_creat.stderr.exp2 [new file with mode: 0644]
memcheck/tests/mismatches.stderr.exp2 [new file with mode: 0644]

diff --git a/corecheck/tests/fdleak_creat.stderr.exp2 b/corecheck/tests/fdleak_creat.stderr.exp2
new file mode 100644 (file)
index 0000000..c29fd96
--- /dev/null
@@ -0,0 +1,19 @@
+
+
+FILE DESCRIPTORS: 4 open at exit.
+Open file descriptor .: /tmp/file
+
+   at 0x........: open (in /...libc...)
+   by 0x........: main (fdleak_creat.c:18)
+
+Open file descriptor .: .
+   <inherited from parent>
+
+Open file descriptor .: .
+   <inherited from parent>
+
+Open file descriptor .: /dev/null
+   <inherited from parent>
+
+
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
diff --git a/memcheck/tests/mismatches.stderr.exp2 b/memcheck/tests/mismatches.stderr.exp2
new file mode 100644 (file)
index 0000000..448414a
--- /dev/null
@@ -0,0 +1,41 @@
+Mismatched free() / delete / delete []
+   at 0x........: __builtin_delete (vg_replace_malloc.c:...)
+   by 0x........: main (mismatches.cpp:6)
+ Address 0x........ is 0 bytes inside a block of size 10 alloc'd
+   at 0x........: malloc (vg_replace_malloc.c:...)
+   by 0x........: main (mismatches.cpp:5)
+
+Mismatched free() / delete / delete []
+   at 0x........: __builtin_vec_delete (vg_replace_malloc.c:...)
+   by 0x........: main (mismatches.cpp:8)
+ Address 0x........ is 0 bytes inside a block of size 10 alloc'd
+   at 0x........: malloc (vg_replace_malloc.c:...)
+   by 0x........: main (mismatches.cpp:7)
+
+Mismatched free() / delete / delete []
+   at 0x........: __builtin_delete (vg_replace_malloc.c:...)
+   by 0x........: main (mismatches.cpp:13)
+ Address 0x........ is 0 bytes inside a block of size 40 alloc'd
+   at 0x........: __builtin_vec_new (vg_replace_malloc.c:...)
+   by 0x........: main (mismatches.cpp:12)
+
+Mismatched free() / delete / delete []
+   at 0x........: free (vg_replace_malloc.c:...)
+   by 0x........: main (mismatches.cpp:15)
+ Address 0x........ is 0 bytes inside a block of size 40 alloc'd
+   at 0x........: __builtin_vec_new (vg_replace_malloc.c:...)
+   by 0x........: main (mismatches.cpp:14)
+
+Mismatched free() / delete / delete []
+   at 0x........: __builtin_vec_delete (vg_replace_malloc.c:...)
+   by 0x........: main (mismatches.cpp:20)
+ Address 0x........ is 0 bytes inside a block of size 4 alloc'd
+   at 0x........: __builtin_new (vg_replace_malloc.c:...)
+   by 0x........: main (mismatches.cpp:19)
+
+Mismatched free() / delete / delete []
+   at 0x........: free (vg_replace_malloc.c:...)
+   by 0x........: main (mismatches.cpp:22)
+ Address 0x........ is 0 bytes inside a block of size 4 alloc'd
+   at 0x........: __builtin_new (vg_replace_malloc.c:...)
+   by 0x........: main (mismatches.cpp:21)