diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2013-12-04 14:21:52 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2013-12-04 16:27:19 +0100 |
commit | 880fdb4b529f12471f9f8e3b1766fb7be3aa0468 (patch) | |
tree | 4a64690ffb9095765def66ab323eedf3b3d68dc0 /tests/client | |
parent | 6a74677cefd704cd1295d3678d08b111fa380bee (diff) | |
download | libssh-880fdb4b529f12471f9f8e3b1766fb7be3aa0468.tar.gz libssh-880fdb4b529f12471f9f8e3b1766fb7be3aa0468.tar.xz libssh-880fdb4b529f12471f9f8e3b1766fb7be3aa0468.zip |
tests: Try to fix torture_forward.
Diffstat (limited to 'tests/client')
-rw-r--r-- | tests/client/torture_forward.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/client/torture_forward.c b/tests/client/torture_forward.c index a2115c87..73e6e60e 100644 --- a/tests/client/torture_forward.c +++ b/tests/client/torture_forward.c @@ -41,15 +41,15 @@ static void setup(void **state) session = torture_ssh_session(host, user, password); - assert_false(session == NULL); + assert_non_null(session); *state = session; } static void teardown(void **state) { - ssh_session session = (ssh_session)*state; + ssh_session session = (ssh_session) *state; - assert_false(session == NULL); + assert_non_null(session); if (ssh_is_connected(session)) { ssh_disconnect(session); @@ -59,7 +59,7 @@ static void teardown(void **state) static void torture_ssh_forward(void **state) { - ssh_session session = (ssh_session)*state; + ssh_session session = (ssh_session) *state; #if 0 ssh_channel c; #endif |