Added hold_lock regression test.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8077 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/exp-drd/tests/Makefile.am b/exp-drd/tests/Makefile.am
index 0f6d20a..f668b0a 100644
--- a/exp-drd/tests/Makefile.am
+++ b/exp-drd/tests/Makefile.am
@@ -34,6 +34,10 @@
 	hg05_race2.vgtest                           \
 	hg06_readshared.stderr.exp                  \
 	hg06_readshared.vgtest                      \
+	hold_lock_1.stderr.exp                      \
+	hold_lock_1.vgtest                          \
+	hold_lock_2.stderr.exp                      \
+	hold_lock_2.vgtest                          \
 	linuxthreads_det.stderr.exp                 \
 	linuxthreads_det.stderr.exp-linuxthreads    \
 	linuxthreads_det.stdout.exp                 \
@@ -164,6 +168,7 @@
   hg04_race           \
   hg05_race2          \
   hg06_readshared     \
+  hold_lock           \
   linuxthreads_det    \
   matinv              \
   memory_allocation   \
@@ -240,6 +245,9 @@
 hg06_readshared_SOURCES     = ../../helgrind/tests/hg06_readshared.c
 hg06_readshared_LDADD       = -lpthread
 
+hold_lock_SOURCES           = hold_lock.c
+hold_lock_LDADD             = -lpthread
+
 linuxthreads_det_SOURCES    = linuxthreads_det.c
 linuxthreads_det_LDADD      = -lpthread