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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/client/torture_sftp_static.c b/tests/client/torture_sftp_static.c
index 0cfd9e20..53644ce9 100644
--- a/tests/client/torture_sftp_static.c
+++ b/tests/client/torture_sftp_static.c
@@ -19,14 +19,14 @@ static void torture_sftp_ext_new(void **state) {
int torture_run_tests(void) {
int rc;
- UnitTest tests[] = {
- unit_test(torture_sftp_ext_new),
+ struct CMUnitTest tests[] = {
+ cmocka_unit_test(torture_sftp_ext_new),
};
ssh_init();
torture_filter_tests(tests);
- rc = run_tests(tests);
+ rc = cmocka_run_group_tests(tests, NULL, NULL);
ssh_finalize();
return rc;