summaryrefslogtreecommitdiff
path: root/tests/eyal1.c
diff options
context:
space:
mode:
authorrpj <rpj>2001-02-08 16:31:20 +0000
committerrpj <rpj>2001-02-08 16:31:20 +0000
commit2b3eede0b834a82c7dce5ec328f3929c0effc536 (patch)
tree24414750f16e0c7bc7d231139d7f20a76b512ae4 /tests/eyal1.c
parent3c0fbfafe563b7b312d60c42c0d58a3a1f4d5930 (diff)
Fixes to new mutex routines and various tests.exp-2001-02-09-passed
Diffstat (limited to 'tests/eyal1.c')
-rw-r--r--tests/eyal1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/eyal1.c b/tests/eyal1.c
index 6954c3b..17ab6fe 100644
--- a/tests/eyal1.c
+++ b/tests/eyal1.c
@@ -315,6 +315,8 @@ main (int argc, char *argv[])
else
printf ("failed %d\n", tcs[i].stat);
+ assert(pthread_mutex_unlock(&tcs[i].mutex_start) == 0);
+
assert(pthread_mutex_destroy (&tcs[i].mutex_start) == 0);
assert(pthread_mutex_destroy (&tcs[i].mutex_started) == 0);
assert(pthread_mutex_destroy (&tcs[i].mutex_end) == 0);