From 229a296f54ad25b030c473ff80a73c6b7983eb38 Mon Sep 17 00:00:00 2001 From: Sears Russell Date: Wed, 24 May 2006 23:25:01 +0000 Subject: [PATCH] Disabled timeout; fixed compilation warning. --- test/lladd/check_lhtable.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/lladd/check_lhtable.c b/test/lladd/check_lhtable.c index 9431025..58b6261 100644 --- a/test/lladd/check_lhtable.c +++ b/test/lladd/check_lhtable.c @@ -84,7 +84,7 @@ START_TEST(lhtableTest) for(long i = 0; i < NUM_ENTRIES; i+=2) { char * key; - int keyLen = asprintf(&key, "--> %ld <--\n", i); + asprintf(&key, "--> %ld <--\n", i); assert((void*)i == LH_ENTRY(find)(t, key, strlen(key))); LH_ENTRY(remove)(t, keys[i], strlen(keys[i])); @@ -107,6 +107,9 @@ Suite * check_suite(void) { /* Begin a new test */ TCase *tc = tcase_create("lhtable"); + tcase_set_timeout(tc, 0); // disable timeouts + + /* Sub tests are added, one per line, here */ tcase_add_test(tc, lhtableTest);