HomePhabricator

tests: Check if known_hosts works with single unaccessible file

Authored by Anderson Toshiyuki Sasaki <ansasaki@redhat.com> on Fri, Jun 28, 1:19 PM.

Description

tests: Check if known_hosts works with single unaccessible file

Make sure known hosts check works when local known_hosts file is
unaccessible, but the host is present in global known_hosts file.

Remove double return value check in previous existing test.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
(cherry picked from commit ad68de7271e6ccda261df4d9fc827321e7d90fd0)

Details

Committed
Anderson Toshiyuki Sasaki <ansasaki@redhat.com>Thu, Jul 4, 11:26 AM
Parents
rLIBSSHb040856ccfde: knownhosts: Fix possible memory leak
Branches
Unknown
Tags
Unknown