Add expected output files for 64-bit platforms.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3619 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/memcheck/tests/Makefile.am b/memcheck/tests/Makefile.am
index e0514d5..52aae49 100644
--- a/memcheck/tests/Makefile.am
+++ b/memcheck/tests/Makefile.am
@@ -33,7 +33,7 @@
inits.stderr.exp inits.vgtest \
inline.stderr.exp inline.stdout.exp inline.vgtest \
leak-0.vgtest leak-0.stderr.exp \
- leak-cycle.vgtest leak-cycle.stderr.exp \
+ leak-cycle.vgtest leak-cycle.stderr.exp leak-cycle.stderr.exp64 \
leak-tree.vgtest leak-tree.stderr.exp \
leak-regroot.vgtest leak-regroot.stderr.exp \
leakotron.vgtest leakotron.stdout.exp leakotron.stderr.exp \
@@ -47,7 +47,7 @@
memalign_test.stderr.exp memalign_test.vgtest \
memalign2.stderr.exp memalign2.vgtest \
memcmptest.stderr.exp memcmptest.stdout.exp memcmptest.vgtest \
- mempool.stderr.exp mempool.vgtest \
+ mempool.stderr.exp mempool.stderr.exp64 mempool.vgtest \
mismatches.stderr.exp mismatches.vgtest \
mmaptest.stderr.exp mmaptest.vgtest \
nanoleak.stderr.exp nanoleak.vgtest \
diff --git a/memcheck/tests/leak-cycle.stderr.exp64 b/memcheck/tests/leak-cycle.stderr.exp64
new file mode 100644
index 0000000..e868e67
--- /dev/null
+++ b/memcheck/tests/leak-cycle.stderr.exp64
@@ -0,0 +1,45 @@
+
+searching for pointers to 18 not-freed blocks.
+checked ... bytes.
+
+48 (16 direct, 32 indirect) bytes in 1 blocks are definitely lost in loss record 15 of 18
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: mk (leak-cycle.c:11)
+ by 0x........: mkcycle (leak-cycle.c:22)
+ by 0x........: main (leak-cycle.c:36)
+
+
+48 (16 direct, 32 indirect) bytes in 1 blocks are definitely lost in loss record 16 of 18
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: mk (leak-cycle.c:11)
+ by 0x........: mkcycle (leak-cycle.c:22)
+ by 0x........: main (leak-cycle.c:37)
+
+
+96 (16 direct, 80 indirect) bytes in 1 blocks are definitely lost in loss record 17 of 18
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: mk (leak-cycle.c:11)
+ by 0x........: mkcycle (leak-cycle.c:22)
+ by 0x........: main (leak-cycle.c:45)
+
+
+96 (16 direct, 80 indirect) bytes in 1 blocks are definitely lost in loss record 18 of 18
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: mk (leak-cycle.c:11)
+ by 0x........: mkcycle (leak-cycle.c:22)
+ by 0x........: main (leak-cycle.c:59)
+
+LEAK SUMMARY:
+ definitely lost: 64 bytes in 4 blocks.
+ indirectly lost: 224 bytes in 14 blocks.
+ possibly lost: 0 bytes in 0 blocks.
+ still reachable: 0 bytes in 0 blocks.
+ suppressed: 0 bytes in 0 blocks.
+Reachable blocks (those to which a pointer was found) are not shown.
+To see them, rerun with: --show-reachable=yes
+
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+malloc/free: in use at exit: 288 bytes in 18 blocks.
+malloc/free: 18 allocs, 0 frees, 288 bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+For counts of detected errors, rerun with: -v
diff --git a/memcheck/tests/mempool.stderr.exp64 b/memcheck/tests/mempool.stderr.exp64
new file mode 100644
index 0000000..c6703c0
--- /dev/null
+++ b/memcheck/tests/mempool.stderr.exp64
@@ -0,0 +1,42 @@
+Invalid write of size 1
+ at 0x........: test (mempool.c:124)
+ by 0x........: main (mempool.c:148)
+ Address 0x........ is 7 bytes inside a block of size 100000 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: make_pool (mempool.c:38)
+ by 0x........: test (mempool.c:111)
+ by 0x........: main (mempool.c:148)
+
+Invalid write of size 1
+ at 0x........: test (mempool.c:125)
+ by 0x........: main (mempool.c:148)
+ Address 0x........ is 18 bytes inside a block of size 100000 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: make_pool (mempool.c:38)
+ by 0x........: test (mempool.c:111)
+ by 0x........: main (mempool.c:148)
+
+Invalid write of size 1
+ at 0x........: test (mempool.c:129)
+ by 0x........: main (mempool.c:148)
+ Address 0x........ is 70 bytes inside a block of size 100000 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: make_pool (mempool.c:38)
+ by 0x........: test (mempool.c:111)
+ by 0x........: main (mempool.c:148)
+
+Invalid write of size 1
+ at 0x........: test (mempool.c:130)
+ by 0x........: main (mempool.c:148)
+ Address 0x........ is 96 bytes inside a block of size 100000 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: make_pool (mempool.c:38)
+ by 0x........: test (mempool.c:111)
+ by 0x........: main (mempool.c:148)
+
+
+100048 (32 direct, 100016 indirect) bytes in 1 blocks are definitely lost in loss record 2 of 3
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: make_pool (mempool.c:37)
+ by 0x........: test (mempool.c:111)
+ by 0x........: main (mempool.c:148)