Added more of Helgrind's regression tests.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7462 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/exp-drd/tests/tc09_bad_unlock.stderr.exp b/exp-drd/tests/tc09_bad_unlock.stderr.exp
new file mode 100644
index 0000000..b3bc83a
--- /dev/null
+++ b/exp-drd/tests/tc09_bad_unlock.stderr.exp
@@ -0,0 +1,40 @@
+
+Attempt to unlock a mutex that is not locked / mutex 0x........ (recursion count -1, owner 1)
+   at 0x........: pthread_mutex_unlock (drd_intercepts.c:?)
+   by 0x........: nearly_main (tc09_bad_unlock.c:27)
+   by 0x........: main (tc09_bad_unlock.c:49)
+
+Thread 2:
+Mutex not unlocked by owner thread / mutex 0x........ (recursion count 1, owner 1)
+   at 0x........: pthread_mutex_unlock (drd_intercepts.c:?)
+   by 0x........: child_fn (tc09_bad_unlock.c:11)
+   by 0x........: vg_thread_wrapper (drd_intercepts.c:?)
+   by 0x........: start_thread (in libpthread-?.?.so)
+   by 0x........: clone (in /...libc...)
+
+Thread 1:
+Not a mutex / mutex 0x........ (recursion count 0, owner 0)
+   at 0x........: pthread_mutex_unlock (drd_intercepts.c:?)
+   by 0x........: nearly_main (tc09_bad_unlock.c:41)
+   by 0x........: main (tc09_bad_unlock.c:49)
+
+Attempt to unlock a mutex that is not locked / mutex 0x........ (recursion count -1, owner 1)
+   at 0x........: pthread_mutex_unlock (drd_intercepts.c:?)
+   by 0x........: nearly_main (tc09_bad_unlock.c:27)
+   by 0x........: main (tc09_bad_unlock.c:50)
+
+Thread 2:
+Mutex not unlocked by owner thread / mutex 0x........ (recursion count 1, owner 1)
+   at 0x........: pthread_mutex_unlock (drd_intercepts.c:?)
+   by 0x........: child_fn (tc09_bad_unlock.c:11)
+   by 0x........: vg_thread_wrapper (drd_intercepts.c:?)
+   by 0x........: start_thread (in libpthread-?.?.so)
+   by 0x........: clone (in /...libc...)
+
+Thread 1:
+Not a mutex / mutex 0x........ (recursion count 0, owner 0)
+   at 0x........: pthread_mutex_unlock (drd_intercepts.c:?)
+   by 0x........: nearly_main (tc09_bad_unlock.c:41)
+   by 0x........: main (tc09_bad_unlock.c:50)
+
+ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 0 from 0)