aboutsummaryrefslogtreecommitdiff
path: root/tests/client/torture_sftp_static.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/client/torture_sftp_static.c')
-rw-r--r--tests/client/torture_sftp_static.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/client/torture_sftp_static.c b/tests/client/torture_sftp_static.c
index ba3cfd49..7631def0 100644
--- a/tests/client/torture_sftp_static.c
+++ b/tests/client/torture_sftp_static.c
@@ -19,13 +19,12 @@ static void torture_sftp_ext_new(void **state) {
int torture_run_tests(void) {
int rc;
-
- ssh_init();
-
const UnitTest tests[] = {
unit_test(torture_sftp_ext_new),
};
+ ssh_init();
+
rc = run_tests(tests);
ssh_finalize();