]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Run the test with -q so that it works both on glibc-2.2 and 2.3. The
authorJulian Seward <jseward@acm.org>
Sun, 6 Jul 2003 23:24:18 +0000 (23:24 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 6 Jul 2003 23:24:18 +0000 (23:24 +0000)
problem if -q is not used is that the lines "malloc/free: 1 allocs, 0
frees, 8 bytes allocated." have different counts depending on the
glibc version.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1732

memcheck/tests/badaddrvalue.stderr.exp
memcheck/tests/badaddrvalue.vgtest

index ad8f3ddf1d5d8e43b33846c1e278b942236ce7c7..702daa5b4edd5e818f23ccad712efac3ffeed319 100644 (file)
@@ -1,4 +1,3 @@
-
 Invalid write of size 1
    at 0x........: main (badaddrvalue.c:8)
    by 0x........: __libc_start_main (...libc...)
@@ -18,9 +17,3 @@ Invalid read of size 1
    by 0x........: main (badaddrvalue.c:7)
    by 0x........: __libc_start_main (...libc...)
    by 0x........: ...
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 8 bytes in 1 blocks.
-malloc/free: 1 allocs, 0 frees, 8 bytes allocated.
-For a detailed leak analysis,  rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
index 91187e810a72bf0e03854fe76839c4fa5c878e4e..4d4b7f68060a90de60bcfbf9161d0bd7315452b1 100644 (file)
@@ -1 +1,2 @@
 prog: badaddrvalue
+vgopts: -q