]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Added yet another output variant.
authorBart Van Assche <bvanassche@acm.org>
Wed, 9 Apr 2008 17:44:28 +0000 (17:44 +0000)
committerBart Van Assche <bvanassche@acm.org>
Wed, 9 Apr 2008 17:44:28 +0000 (17:44 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7863

exp-drd/tests/Makefile.am
exp-drd/tests/rwlock_race.stderr.exp2 [new file with mode: 0644]

index 2b8b91be3567d2feada9609095331933de87fb91..be34fd6725d821e0e3f8ddb9ab185e6316326244 100644 (file)
@@ -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 (file)
index 0000000..1423a6c
--- /dev/null
@@ -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)