From: Julian Seward Date: Mon, 10 Nov 2008 00:46:52 +0000 (+0000) Subject: Add a new expected output that applies to glibc-2.7 and later. X-Git-Tag: svn/VALGRIND_3_4_0~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7056771344111d6e3b74ec6e55cf42271a47b9a;p=thirdparty%2Fvalgrind.git Add a new expected output that applies to glibc-2.7 and later. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8754 --- diff --git a/helgrind/tests/Makefile.am b/helgrind/tests/Makefile.am index 8c23bc16fe..6c0f2fce72 100644 --- a/helgrind/tests/Makefile.am +++ b/helgrind/tests/Makefile.am @@ -66,6 +66,7 @@ EXTRA_DIST = $(noinst_SCRIPTS) \ tc18_semabuse.vgtest tc18_semabuse.stdout.exp \ tc18_semabuse.stderr.exp-glibc25-amd64 \ tc18_semabuse.stderr.exp-glibc25-x86 \ + tc18_semabuse.stderr.exp-glibc28-amd64 \ tc19_shadowmem.vgtest tc19_shadowmem.stdout.exp \ tc19_shadowmem.stderr.exp-glibc25-amd64 \ tc19_shadowmem.stderr.exp-glibc25-x86 \ diff --git a/helgrind/tests/tc18_semabuse.stderr.exp-glibc28-amd64 b/helgrind/tests/tc18_semabuse.stderr.exp-glibc28-amd64 new file mode 100644 index 0000000000..cd9c692943 --- /dev/null +++ b/helgrind/tests/tc18_semabuse.stderr.exp-glibc28-amd64 @@ -0,0 +1,20 @@ + +Thread #1 is the program's root thread + +Thread #1's call to sem_init failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: sem_init@* (hg_intercepts.c:...) + by 0x........: main (tc18_semabuse.c:23) + +Thread #1: Bug in libpthread: sem_wait succeeded on semaphore without prior sem_post + at 0x........: sem_wait_WRK (hg_intercepts.c:...) + by 0x........: sem_wait (hg_intercepts.c:...) + by 0x........: main (tc18_semabuse.c:34) + +Thread #1's call to sem_post failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: sem_post_WRK (hg_intercepts.c:...) + by 0x........: sem_post (hg_intercepts.c:...) + by 0x........: main (tc18_semabuse.c:37) + +ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)