diff options
Diffstat (limited to 'tests/unittests/torture_options.c')
-rw-r--r-- | tests/unittests/torture_options.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/unittests/torture_options.c b/tests/unittests/torture_options.c index 4d20c216..d5da8288 100644 --- a/tests/unittests/torture_options.c +++ b/tests/unittests/torture_options.c @@ -119,6 +119,7 @@ static void torture_options_set_identity(void **state) { } int torture_run_tests(void) { + int rc; const UnitTest tests[] = { unit_test_setup_teardown(torture_options_set_host, setup, teardown), unit_test_setup_teardown(torture_options_set_port, setup, teardown), @@ -127,5 +128,8 @@ int torture_run_tests(void) { unit_test_setup_teardown(torture_options_set_identity, setup, teardown), }; - return run_tests(tests); + ssh_init(); + rc=run_tests(tests); + ssh_finalize(); + return rc; } |