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.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/client/torture_sftp_static.c b/tests/client/torture_sftp_static.c
index c6cd979..ba3cfd4 100644
--- a/tests/client/torture_sftp_static.c
+++ b/tests/client/torture_sftp_static.c
@@ -18,9 +18,16 @@ 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),
};
- return run_tests(tests);
+ rc = run_tests(tests);
+ ssh_finalize();
+
+ return rc;
}