diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-02-06 11:15:05 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-02-06 11:15:05 +0100 |
commit | 05cd7296ba9a27d2eb4a9d1ecea8230ecb75a35e (patch) | |
tree | bd99ab4a33e666c20e1fcf9de1f01dd6db7cb035 /tests/torture.h | |
parent | 93a2d794591ba8bc21bde28e0d95b5c7505a322c (diff) | |
download | libssh-05cd7296ba9a27d2eb4a9d1ecea8230ecb75a35e.tar.gz libssh-05cd7296ba9a27d2eb4a9d1ecea8230ecb75a35e.tar.xz libssh-05cd7296ba9a27d2eb4a9d1ecea8230ecb75a35e.zip |
tests: Added a torture_ssh_session().
Diffstat (limited to 'tests/torture.h')
-rw-r--r-- | tests/torture.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/torture.h b/tests/torture.h index 3aa73112..cc63ad8d 100644 --- a/tests/torture.h +++ b/tests/torture.h @@ -12,6 +12,7 @@ #include <setjmp.h> #include <google/cmockery.h> +#include "libssh/priv.h" /* Used by main to communicate with parse_opt. */ struct argument_s { @@ -26,6 +27,9 @@ void torture_cmdline_parse(int argc, char **argv, struct argument_s *arguments); */ int torture_libssh_verbosity(void); +ssh_session torture_ssh_session(const char *host, + const char *user, + const char *password); /* * This function must be defined in every unit test file. |