aboutsummaryrefslogtreecommitdiff
path: root/tests/client/torture_auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/client/torture_auth.c')
-rw-r--r--tests/client/torture_auth.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/client/torture_auth.c b/tests/client/torture_auth.c
index 7c90fec..adcf708 100644
--- a/tests/client/torture_auth.c
+++ b/tests/client/torture_auth.c
@@ -153,15 +153,14 @@ static void torture_auth_password(void **state) {
int torture_run_tests(void) {
int rc;
-
- ssh_init();
-
const UnitTest tests[] = {
unit_test_setup_teardown(torture_auth_kbdint, setup, teardown),
unit_test_setup_teardown(torture_auth_password, setup, teardown),
unit_test_setup_teardown(torture_auth_autopubkey, setup, teardown),
};
+ ssh_init();
+
rc = run_tests(tests);
ssh_finalize();