From: Bart Van Assche Date: Sun, 13 Mar 2011 09:04:21 +0000 (+0000) Subject: Added yet another regression test. X-Git-Tag: svn/VALGRIND_3_7_0~590 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d5d77ca0f956a299b770f805f95ec02be6aa3c3;p=thirdparty%2Fvalgrind.git Added yet another regression test. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11639 --- diff --git a/drd/tests/Makefile.am b/drd/tests/Makefile.am index 2bbd96917a..62f74625cb 100644 --- a/drd/tests/Makefile.am +++ b/drd/tests/Makefile.am @@ -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 index 0000000000..ef056f1ca3 --- /dev/null +++ b/drd/tests/custom_alloc_fiw.stderr.exp @@ -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 index 0000000000..26b9cf3e86 --- /dev/null +++ b/drd/tests/custom_alloc_fiw.vgtest @@ -0,0 +1,2 @@ +vgopts: --free-is-write=yes +prog: custom_alloc