mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-10 18:28:10 +09:00
tests: Try to fix torture_forward.
This commit is contained in:
@@ -41,7 +41,7 @@ static void setup(void **state)
|
||||
|
||||
session = torture_ssh_session(host, user, password);
|
||||
|
||||
assert_false(session == NULL);
|
||||
assert_non_null(session);
|
||||
*state = session;
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ static void teardown(void **state)
|
||||
{
|
||||
ssh_session session = (ssh_session) *state;
|
||||
|
||||
assert_false(session == NULL);
|
||||
assert_non_null(session);
|
||||
|
||||
if (ssh_is_connected(session)) {
|
||||
ssh_disconnect(session);
|
||||
|
||||
Reference in New Issue
Block a user