blob: 8b09d36be97f33b96dfde64c83b3bf63bc303918 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#define LIBSSH_STATIC
#include <libssh/libssh.h>
#include "libssh/priv.h"
#include "torture.h"
START_TEST (torture_ssh_init)
{
int rc;
rc=ssh_init();
ck_assert_int_eq(rc,SSH_OK);
rc=ssh_finalize();
ck_assert_int_eq(rc,SSH_OK);
}
END_TEST
Suite *torture_make_suite(void) {
Suite *s = suite_create("libssh_init");
torture_create_case(s, "torture_ssh_init", torture_ssh_init);
return s;
}
|