From e12253168c04bfc603afe43670ad214040040b3d Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 3 Jan 2011 08:46:14 +0100 Subject: tests: Call init and finalize in client torture tests. --- tests/client/torture_proxycommand.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'tests/client/torture_proxycommand.c') diff --git a/tests/client/torture_proxycommand.c b/tests/client/torture_proxycommand.c index ba0e21f..218b457 100644 --- a/tests/client/torture_proxycommand.c +++ b/tests/client/torture_proxycommand.c @@ -41,10 +41,17 @@ static void torture_options_set_proxycommand_notexist(void **state) { } int torture_run_tests(void) { + int rc; + + ssh_init(); + const UnitTest tests[] = { unit_test_setup_teardown(torture_options_set_proxycommand, setup, teardown), unit_test_setup_teardown(torture_options_set_proxycommand_notexist, setup, teardown), }; - return run_tests(tests); + rc = run_tests(tests); + ssh_finalize(); + + return rc; } -- cgit v1.2.3