mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 18:04:25 +09:00
tests: Convert torture_connect to a cwrap test
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -46,6 +46,8 @@
|
||||
assert_true(code >= 0)
|
||||
#endif /* assert_return_code */
|
||||
|
||||
#define TORTURE_SSH_SERVER "127.0.0.10"
|
||||
|
||||
#define TORTURE_TESTKEY_PASSWORD "libssh-rocks"
|
||||
|
||||
/* Used by main to communicate with parse_opt. */
|
||||
@@ -65,6 +67,9 @@ struct torture_state {
|
||||
char *pcap_file;
|
||||
char *srv_pidfile;
|
||||
char *srv_config;
|
||||
struct {
|
||||
ssh_session session;
|
||||
} ssh;
|
||||
};
|
||||
|
||||
#ifndef ZERO_STRUCT
|
||||
|
||||
Reference in New Issue
Block a user