ftmemsim-valgrind/memcheck/tests/err_disable1.stderr.exp
Julian Seward 42ada29286 Add a new client request and pair of macros,
VALGRIND_{DISABLE,ENABLE}_ERROR_REPORTING, which allow a thread to
temporarily disable reporting of errors it makes.  This is useful for
making Memcheck behave sanely in the presence of some MPI
implementations.  Also mark up libmpiwrap.c accordingly.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11910
2011-07-24 16:02:33 +00:00

47 lines
1.3 KiB
Plaintext

--------- SIMPLE TEST ---------
--------- enabled (expect 1) ---------
Invalid read of size 1
at 0x........: err (err_disable1.c:21)
by 0x........: main (err_disable1.c:32)
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable1.c:27)
--------- disabled (expect 0) ---------
--------- re-enabled (expect 1) ---------
Invalid read of size 1
at 0x........: err (err_disable1.c:21)
by 0x........: main (err_disable1.c:42)
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable1.c:27)
--------- MULTI-LEVEL TEST (expect 2) ---------
Invalid read of size 1
at 0x........: err (err_disable1.c:21)
by 0x........: main (err_disable1.c:67)
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable1.c:27)
Invalid read of size 1
at 0x........: err (err_disable1.c:21)
by 0x........: main (err_disable1.c:70)
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable1.c:27)
--------- MULTI-LEVEL TEST end ---------