mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 18:04:25 +09:00
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:
committed by
Andreas Schneider
parent
8db4520d89
commit
f4154c503b
@@ -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_non_null(session);
|
||||
*state = session;
|
||||
|
||||
Reference in New Issue
Block a user