mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 18:50:28 +09:00
tests: Temporarily increase log verbosity for torture_forward
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -82,6 +82,9 @@ static void torture_ssh_forward(void **state)
|
|||||||
int dport;
|
int dport;
|
||||||
int bound_port;
|
int bound_port;
|
||||||
int rc;
|
int rc;
|
||||||
|
int verbosity = SSH_LOG_TRACE;
|
||||||
|
|
||||||
|
ssh_options_set(session, SSH_OPTIONS_LOG_VERBOSITY, &verbosity);
|
||||||
|
|
||||||
rc = ssh_channel_listen_forward(session, "127.0.0.21", 8080, &bound_port);
|
rc = ssh_channel_listen_forward(session, "127.0.0.21", 8080, &bound_port);
|
||||||
assert_ssh_return_code(session, rc);
|
assert_ssh_return_code(session, rc);
|
||||||
|
|||||||
Reference in New Issue
Block a user