mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
tests: Typo -- the flags should be checked according to the comment
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -284,7 +284,7 @@ static void torture_config_auth_methods(void **state) {
|
||||
assert_false(session->opts.flags & SSH_OPT_FLAG_PUBKEY_AUTH);
|
||||
|
||||
/* no method should be left enabled */
|
||||
assert_int_equal(session->opts.port, 0);
|
||||
assert_int_equal(session->opts.flags, 0);
|
||||
|
||||
/* gradually enable them again */
|
||||
ssh_options_set(session, SSH_OPTIONS_HOST, "gss");
|
||||
|
||||
Reference in New Issue
Block a user