drd: Add two regression test output files
authorbart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9>
Sun, 17 Jun 2012 06:13:58 +0000 (06:13 +0000)
committerbart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9>
Sun, 17 Jun 2012 06:13:58 +0000 (06:13 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12650 a5019735-40e9-0310-863c-91ae7b9d1cf9

drd/tests/Makefile.am
drd/tests/tc04_free_lock.stderr.exp-s390 [new file with mode: 0644]
drd/tests/tc09_bad_unlock.stderr.exp-s390 [new file with mode: 0644]

index d427b3e438284def2b976a1b82c11abae8b27b2f..e7f1f3aa023ec59b6a3bf3e289d1d67c05262b6c 100644 (file)
@@ -231,6 +231,7 @@ EXTRA_DIST =                                        \
        tc03_re_excl.vgtest                         \
        tc04_free_lock.stderr.exp-x86               \
        tc04_free_lock.stderr.exp-ppc               \
+       tc04_free_lock.stderr.exp-s390              \
        tc04_free_lock.vgtest                       \
        tc05_simple_race.stderr.exp                 \
        tc05_simple_race.vgtest                     \
@@ -245,6 +246,7 @@ EXTRA_DIST =                                        \
        tc09_bad_unlock.stderr.exp-x86              \
        tc09_bad_unlock.stderr.exp-ppc              \
        tc09_bad_unlock.stderr.exp-glibc2.8         \
+       tc09_bad_unlock.stderr.exp-s390             \
        tc09_bad_unlock.vgtest                      \
        tc10_rec_lock.stderr.exp                    \
        tc10_rec_lock.vgtest                        \
diff --git a/drd/tests/tc04_free_lock.stderr.exp-s390 b/drd/tests/tc04_free_lock.stderr.exp-s390
new file mode 100644 (file)
index 0000000..eafb3db
--- /dev/null
@@ -0,0 +1,28 @@
+
+Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
+   at 0x........: free (vg_replace_malloc.c:...)
+   by 0x........: main (tc04_free_lock.c:24)
+mutex 0x........ was first observed at:
+   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
+   by 0x........: main (tc04_free_lock.c:20)
+
+Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
+   at 0x........: bar (tc04_free_lock.c:40)
+   by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so)
+   by 0x........: ???
+mutex 0x........ was first observed at:
+   at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
+   by 0x........: bar (tc04_free_lock.c:38)
+   by 0x........: main (tc04_free_lock.c:26)
+
+Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
+   at 0x........: foo (tc04_free_lock.c:49)
+   by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so)
+   by 0x........: ???
+mutex 0x........ was first observed at:
+   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
+   by 0x........: foo (tc04_free_lock.c:46)
+   by 0x........: main (tc04_free_lock.c:27)
+
+
+ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0)
diff --git a/drd/tests/tc09_bad_unlock.stderr.exp-s390 b/drd/tests/tc09_bad_unlock.stderr.exp-s390
new file mode 100644 (file)
index 0000000..dd84c81
--- /dev/null
@@ -0,0 +1,51 @@
+
+Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
+   at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+   by 0x........: nearly_main (tc09_bad_unlock.c:27)
+   by 0x........: main (tc09_bad_unlock.c:49)
+mutex 0x........ was first observed at:
+   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
+   by 0x........: nearly_main (tc09_bad_unlock.c:23)
+   by 0x........: main (tc09_bad_unlock.c:49)
+
+Thread 2:
+Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 1.
+   at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+   by 0x........: child_fn (tc09_bad_unlock.c:11)
+   by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+mutex 0x........ was first observed at:
+   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
+   by 0x........: nearly_main (tc09_bad_unlock.c:31)
+   by 0x........: main (tc09_bad_unlock.c:49)
+
+Thread 1:
+The object at address 0x........ is not a mutex.
+   at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+   by 0x........: nearly_main (tc09_bad_unlock.c:41)
+   by 0x........: main (tc09_bad_unlock.c:49)
+
+Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
+   at 0x........: nearly_main (tc09_bad_unlock.c:45)
+   by 0x........: ???
+mutex 0x........ was first observed at:
+   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
+   by 0x........: nearly_main (tc09_bad_unlock.c:31)
+   by 0x........: main (tc09_bad_unlock.c:49)
+
+---------------------
+Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
+   at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+   by 0x........: nearly_main (tc09_bad_unlock.c:27)
+   by 0x........: main (tc09_bad_unlock.c:50)
+mutex 0x........ was first observed at:
+   at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
+   by 0x........: nearly_main (tc09_bad_unlock.c:23)
+   by 0x........: main (tc09_bad_unlock.c:50)
+
+The object at address 0x........ is not a mutex.
+   at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+   by 0x........: nearly_main (tc09_bad_unlock.c:41)
+   by 0x........: main (tc09_bad_unlock.c:50)
+
+
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)