]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Added yet another regression test.
authorBart Van Assche <bvanassche@acm.org>
Sun, 13 Mar 2011 09:04:21 +0000 (09:04 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sun, 13 Mar 2011 09:04:21 +0000 (09:04 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11639

drd/tests/Makefile.am
drd/tests/custom_alloc_fiw.stderr.exp [new file with mode: 0644]
drd/tests/custom_alloc_fiw.vgtest [new file with mode: 0644]

index 2bbd96917af1af555980a4c944b1dca74732b6b9..62f74625cbe6c2d4868ae9e92152012b9145477f 100644 (file)
@@ -68,6 +68,8 @@ EXTRA_DIST =                                        \
        circular_buffer.vgtest                      \
        custom_alloc.stderr.exp                     \
        custom_alloc.vgtest                         \
+       custom_alloc_fiw.stderr.exp                 \
+       custom_alloc_fiw.vgtest                     \
        fp_race.stderr.exp                          \
        fp_race.vgtest                              \
        fp_race2.stderr.exp                         \
diff --git a/drd/tests/custom_alloc_fiw.stderr.exp b/drd/tests/custom_alloc_fiw.stderr.exp
new file mode 100644 (file)
index 0000000..ef056f1
--- /dev/null
@@ -0,0 +1,12 @@
+
+--free-is-write=yes is incompatible with custom memory allocator client requests
+   at 0x........: custom_alloc (custom_alloc.c:?)
+   by 0x........: main (custom_alloc.c:?)
+
+--free-is-write=yes is incompatible with custom memory allocator client requests
+   at 0x........: custom_alloc (custom_alloc.c:?)
+   by 0x........: make_leak (custom_alloc.c:?)
+   by 0x........: main (custom_alloc.c:?)
+
+
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
diff --git a/drd/tests/custom_alloc_fiw.vgtest b/drd/tests/custom_alloc_fiw.vgtest
new file mode 100644 (file)
index 0000000..26b9cf3
--- /dev/null
@@ -0,0 +1,2 @@
+vgopts: --free-is-write=yes
+prog: custom_alloc