aboutsummaryrefslogtreecommitdiff
path: root/tests/client/torture_knownhosts.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/client/torture_knownhosts.c')
-rw-r--r--tests/client/torture_knownhosts.c5
1 files changed, 2 insertions, 3 deletions
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();