From e706edd1946cf68381cda7b0bb7dc86e1762c017 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 9 Apr 2008 17:44:28 +0000 Subject: [PATCH] Added yet another output variant. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7863 --- exp-drd/tests/Makefile.am | 1 + exp-drd/tests/rwlock_race.stderr.exp2 | 28 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 exp-drd/tests/rwlock_race.stderr.exp2 diff --git a/exp-drd/tests/Makefile.am b/exp-drd/tests/Makefile.am index 2b8b91be35..be34fd6725 100644 --- a/exp-drd/tests/Makefile.am +++ b/exp-drd/tests/Makefile.am @@ -75,6 +75,7 @@ EXTRA_DIST = \ recursive_mutex.stdout.exp \ recursive_mutex.vgtest \ rwlock_race.stderr.exp \ + rwlock_race.stderr.exp2 \ rwlock_race.vgtest \ sem_as_mutex.stderr.exp \ sem_as_mutex.vgtest \ diff --git a/exp-drd/tests/rwlock_race.stderr.exp2 b/exp-drd/tests/rwlock_race.stderr.exp2 new file mode 100644 index 0000000000..1423a6c0a7 --- /dev/null +++ b/exp-drd/tests/rwlock_race.stderr.exp2 @@ -0,0 +1,28 @@ + +Thread 3: +Conflicting load by thread 3/3 at 0x........ size 4 + at 0x........: thread (rwlock_race.c:?) + by 0x........: vg_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Location 0x........ is 0 bytes inside local var "s_racy" +declared at rwlock_race.c:17, in frame #? of thread 3 +Other segment start (thread 0/2) + (thread finished, call stack no longer available) +Other segment end (thread 0/2) + (thread finished, call stack no longer available) + +Conflicting store by thread 3/3 at 0x........ size 4 + at 0x........: thread (rwlock_race.c:?) + by 0x........: vg_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Location 0x........ is 0 bytes inside local var "s_racy" +declared at rwlock_race.c:17, in frame #? of thread 3 +Other segment start (thread 0/2) + (thread finished, call stack no longer available) +Other segment end (thread 0/2) + (thread finished, call stack no longer available) +Result: 2 + +ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) -- 2.47.3