Author: sewardj
Date: 2007-12-05 01:19:20 +0000 (Wed, 05 Dec 2007)
New Revision: 7277
Log:
Update expected outputs. Use new naming scheme now permitted by
tests/vg_regtest.
Added:
trunk/memcheck/tests/malloc_free_fill.stderr.exp-glibc25-amd64
trunk/memcheck/tests/malloc_free_fill.stderr.exp-glibc25-x86
Removed:
trunk/memcheck/tests/malloc_free_fill.stderr.exp
Modified:
trunk/memcheck/tests/Makefile.am
Modified: trunk/memcheck/tests/Makefile.am
===================================================================
--- trunk/memcheck/tests/Makefile.am 2007-12-04 21:35:55 UTC (rev 7276)
+++ trunk/memcheck/tests/Makefile.am 2007-12-05 01:19:20 UTC (rev 7277)
@@ -67,7 +67,8 @@
long_namespace_xml.vgtest long_namespace_xml.stdout.exp \
long_namespace_xml.stderr.exp \
malloc_free_fill.vgtest malloc_free_fill.stdout.exp \
- malloc_free_fill.stderr.exp \
+ malloc_free_fill.stderr.exp-glibc25-amd64 \
+ malloc_free_fill.stderr.exp-glibc25-x86 \
malloc_usable.stderr.exp malloc_usable.vgtest \
malloc1.stderr.exp malloc1.vgtest \
malloc2.stderr.exp malloc2.vgtest \
Deleted: trunk/memcheck/tests/malloc_free_fill.stderr.exp
===================================================================
--- trunk/memcheck/tests/malloc_free_fill.stderr.exp 2007-12-04 21:35:55 UTC
(rev 7276)
+++ trunk/memcheck/tests/malloc_free_fill.stderr.exp 2007-12-05 01:19:20 UTC
(rev 7277)
@@ -1,57 +0,0 @@
-
-test simple malloc/free:
-Use of uninitialised value of size 8
- at 0x........: _itoa_word (in /...libc...)
- by 0x........: ...
- by 0x........: ...
- by 0x........: ...
- by 0x........: ...
- by 0x........: main (malloc_free_fill.c:17)
-
-Conditional jump or move depends on uninitialised value(s)
- at 0x........: _itoa_word (in /...libc...)
- by 0x........: ...
- by 0x........: ...
- by 0x........: ...
- by 0x........: ...
- by 0x........: main (malloc_free_fill.c:17)
-
-Conditional jump or move depends on uninitialised value(s)
- at 0x........: vfprintf (in /...libc...)
- by 0x........: ...
- by 0x........: ...
- by 0x........: ...
- by 0x........: main (malloc_free_fill.c:17)
-(should be malloc-filled) a[4] = 55555555
-
-Invalid read of size 4
- at 0x........: main (malloc_free_fill.c:20)
- Address 0x........ is 20 bytes inside a block of size 40 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (malloc_free_fill.c:19)
-(should be free-filled) a[5] = 77777777
-test realloc-larger:
-(should be malloc-filled) r[25] = 55555555
-
-Invalid read of size 4
- at 0x........: main (malloc_free_fill.c:33)
- Address 0x........ is 104 bytes inside a block of size 120 free'd
- at 0x........: realloc (vg_replace_malloc.c:...)
- by 0x........: main (malloc_free_fill.c:31)
-(should be free-filled) oldr[26] = 77777777
-(should be malloc-filled) r[35] = 55555555
-test realloc-smaller:
-(should be malloc-filled) r[25] = 55555555
-
-Invalid read of size 4
- at 0x........: main (malloc_free_fill.c:49)
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
-(should be free-filled) oldr[26] = 77777777
-test calloc:
-(should be zero) a[42] = 0
-
-ERROR SUMMARY: 67 errors from 6 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 0 bytes in 0 blocks.
-malloc/free: 6 allocs, 6 frees, 920 bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
Copied: trunk/memcheck/tests/malloc_free_fill.stderr.exp-glibc25-amd64 (from
rev 7276, trunk/memcheck/tests/malloc_free_fill.stderr.exp)
===================================================================
--- trunk/memcheck/tests/malloc_free_fill.stderr.exp-glibc25-amd64
(rev 0)
+++ trunk/memcheck/tests/malloc_free_fill.stderr.exp-glibc25-amd64
2007-12-05 01:19:20 UTC (rev 7277)
@@ -0,0 +1,57 @@
+
+test simple malloc/free:
+Use of uninitialised value of size 8
+ at 0x........: _itoa_word (in /...libc...)
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: main (malloc_free_fill.c:17)
+
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: _itoa_word (in /...libc...)
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: main (malloc_free_fill.c:17)
+
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: vfprintf (in /...libc...)
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: main (malloc_free_fill.c:17)
+(should be malloc-filled) a[4] = 55555555
+
+Invalid read of size 4
+ at 0x........: main (malloc_free_fill.c:20)
+ Address 0x........ is 20 bytes inside a block of size 40 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ by 0x........: main (malloc_free_fill.c:19)
+(should be free-filled) a[5] = 77777777
+test realloc-larger:
+(should be malloc-filled) r[25] = 55555555
+
+Invalid read of size 4
+ at 0x........: main (malloc_free_fill.c:33)
+ Address 0x........ is 104 bytes inside a block of size 120 free'd
+ at 0x........: realloc (vg_replace_malloc.c:...)
+ by 0x........: main (malloc_free_fill.c:31)
+(should be free-filled) oldr[26] = 77777777
+(should be malloc-filled) r[35] = 55555555
+test realloc-smaller:
+(should be malloc-filled) r[25] = 55555555
+
+Invalid read of size 4
+ at 0x........: main (malloc_free_fill.c:49)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+(should be free-filled) oldr[26] = 77777777
+test calloc:
+(should be zero) a[42] = 0
+
+ERROR SUMMARY: 67 errors from 6 contexts (suppressed: 0 from 0)
+malloc/free: in use at exit: 0 bytes in 0 blocks.
+malloc/free: 6 allocs, 6 frees, 920 bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+For counts of detected errors, rerun with: -v
Added: trunk/memcheck/tests/malloc_free_fill.stderr.exp-glibc25-x86
===================================================================
--- trunk/memcheck/tests/malloc_free_fill.stderr.exp-glibc25-x86
(rev 0)
+++ trunk/memcheck/tests/malloc_free_fill.stderr.exp-glibc25-x86
2007-12-05 01:19:20 UTC (rev 7277)
@@ -0,0 +1,57 @@
+
+test simple malloc/free:
+Use of uninitialised value of size 4
+ at 0x........: _itoa_word (in /...libc...)
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: main (malloc_free_fill.c:17)
+
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: _itoa_word (in /...libc...)
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: main (malloc_free_fill.c:17)
+
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: vfprintf (in /...libc...)
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: main (malloc_free_fill.c:17)
+(should be malloc-filled) a[4] = 55555555
+
+Invalid read of size 4
+ at 0x........: main (malloc_free_fill.c:20)
+ Address 0x........ is 20 bytes inside a block of size 40 free'd
+ at 0x........: free (vg_replace_malloc.c:...)
+ by 0x........: main (malloc_free_fill.c:19)
+(should be free-filled) a[5] = 77777777
+test realloc-larger:
+(should be malloc-filled) r[25] = 55555555
+
+Invalid read of size 4
+ at 0x........: main (malloc_free_fill.c:33)
+ Address 0x........ is 104 bytes inside a block of size 120 free'd
+ at 0x........: realloc (vg_replace_malloc.c:...)
+ by 0x........: main (malloc_free_fill.c:31)
+(should be free-filled) oldr[26] = 77777777
+(should be malloc-filled) r[35] = 55555555
+test realloc-smaller:
+(should be malloc-filled) r[25] = 55555555
+
+Invalid read of size 4
+ at 0x........: main (malloc_free_fill.c:49)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+(should be free-filled) oldr[26] = 77777777
+test calloc:
+(should be zero) a[42] = 0
+
+ERROR SUMMARY: 67 errors from 6 contexts (suppressed: 0 from 0)
+malloc/free: in use at exit: 0 bytes in 0 blocks.
+malloc/free: 6 allocs, 6 frees, 920 bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+For counts of detected errors, rerun with: -v
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Valgrind-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers