From 37a0411fbad71524034b5392459a6809b97daf2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Thu, 11 Sep 2014 21:40:22 +0200 Subject: [PATCH] Initialize the ticket lock --- test/test_ticket_lock.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test_ticket_lock.c b/test/test_ticket_lock.c index 1bc857a..e8b895e 100644 --- a/test/test_ticket_lock.c +++ b/test/test_ticket_lock.c @@ -31,7 +31,9 @@ static void *update_thread(void *arg) START_TEST(test_ticket_lock1) struct ThreadArg threads[NR_THREADS]; int i; - printf("TICKET SUITE\n"); + int lrc; + lrc = uc_ticket_lock_init(&lock); + ck_assert_int_eq(lrc, 0); for (i = 0; i < NR_THREADS; i++) { int rc;