From 2464a25de75a1a442b2cef5f7d2f63f84fab8c55 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 3 Jan 2011 09:02:34 +0100 Subject: tests: Fixed a build warning introduced before. --- tests/client/torture_knownhosts.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/client/torture_knownhosts.c') diff --git a/tests/client/torture_knownhosts.c b/tests/client/torture_knownhosts.c index 1bb949e..9c44c9e 100644 --- a/tests/client/torture_knownhosts.c +++ b/tests/client/torture_knownhosts.c @@ -93,13 +93,12 @@ static void torture_knownhosts_port(void **state) { int torture_run_tests(void) { int rc; - - ssh_init(); - const UnitTest tests[] = { unit_test_setup_teardown(torture_knownhosts_port, setup, teardown), }; + ssh_init(); + rc = run_tests(tests); ssh_finalize(); -- cgit v1.2.3