diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2013-10-20 13:28:53 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2013-10-20 17:06:22 +0200 |
commit | c42da233488f125f358eefe2c2a468037c920723 (patch) | |
tree | d0958b242129179568ff981db9ee2e61b37dc133 /tests/client/torture_forward.c | |
parent | e0adcea90dceafa81e1a20c8bb321182690e28d2 (diff) | |
download | libssh-c42da233488f125f358eefe2c2a468037c920723.tar.gz libssh-c42da233488f125f358eefe2c2a468037c920723.tar.xz libssh-c42da233488f125f358eefe2c2a468037c920723.zip |
tests: We can't test the accept right now.
Diffstat (limited to 'tests/client/torture_forward.c')
-rw-r--r-- | tests/client/torture_forward.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/client/torture_forward.c b/tests/client/torture_forward.c index 746199b8..1440552e 100644 --- a/tests/client/torture_forward.c +++ b/tests/client/torture_forward.c @@ -60,18 +60,22 @@ static void teardown(void **state) static void torture_ssh_forward(void **state) { ssh_session session = *state; +#if 0 ssh_channel c; +#endif int bound_port; int rc; rc = ssh_forward_listen(session, "127.0.0.1", 8080, &bound_port); assert_int_equal(rc, SSH_OK); - c = ssh_forward_accept(session, 1000); +#if 0 + c = ssh_forward_accept(session, 60000); assert_non_null(c); ssh_channel_send_eof(c); ssh_channel_close(c); +#endif } int torture_run_tests(void) { |