aboutsummaryrefslogtreecommitdiff
path: root/tests/client/torture_forward.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/client/torture_forward.c')
-rw-r--r--tests/client/torture_forward.c8
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