tests: Add port option to torture_ssh_session

Signed-off-by: Alan Dunn <amdunn@gmail.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Alan Dunn
2014-04-19 14:27:48 -05:00
committed by Andreas Schneider
parent 8db4520d89
commit f4154c503b
6 changed files with 12 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ static void setup(void **state)
user = getenv("TORTURE_USER");
password = getenv("TORTURE_PASSWORD");
session = torture_ssh_session(host, user, password);
session = torture_ssh_session(host, NULL, user, password);
assert_false(session == NULL);
*state = session;