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>
(cherry picked from commit 5fc4d5b22a)
This commit is contained in:
committed by
Andreas Schneider
parent
a4b99eedf2
commit
56b7d2da4d
@@ -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