diff options
author | Andreas Schneider <asn@cynapses.org> | 2011-01-03 09:02:34 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cynapses.org> | 2011-01-03 09:02:34 +0100 |
commit | 2464a25de75a1a442b2cef5f7d2f63f84fab8c55 (patch) | |
tree | 0f2d7de360b7461896b2c6ded17cf896d4888e8c /tests/client/torture_knownhosts.c | |
parent | e12253168c04bfc603afe43670ad214040040b3d (diff) | |
download | libssh-2464a25de75a1a442b2cef5f7d2f63f84fab8c55.tar.gz libssh-2464a25de75a1a442b2cef5f7d2f63f84fab8c55.tar.xz libssh-2464a25de75a1a442b2cef5f7d2f63f84fab8c55.zip |
tests: Fixed a build warning introduced before.
Diffstat (limited to 'tests/client/torture_knownhosts.c')
-rw-r--r-- | tests/client/torture_knownhosts.c | 5 |
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(); |