]> git.proxmox.com Git - mirror_qemu.git/commit
iotests/207: Filter host fingerprint
authorHanna Reitz <hreitz@redhat.com>
Fri, 18 Mar 2022 12:53:04 +0000 (13:53 +0100)
committerHanna Reitz <hreitz@redhat.com>
Tue, 22 Mar 2022 09:50:10 +0000 (10:50 +0100)
commit48f1fcd5c87cadef331a2cd08e67e37a789e8347
treec2e6c1171d046d085e081997ac6742b4c4516bc3
parentda9d88d8e6c163fdcfe858cd05e750a6f1016b88
iotests/207: Filter host fingerprint

Commit e3296cc796aeaf319f3ed4e064ec309baf5e4da4 made the ssh block
driver's error message for fingerprint mismatches more verbose, so it
now prints the actual host key fingerprint and the key type.

iotest 207 tests such errors, but was not amended to filter that
fingerprint (which is host-specific), so do it now.  Filter the key
type, too, because I guess this too can differ depending on the host
configuration.

Fixes: e3296cc796aeaf319f3ed4e064ec309baf5e4da4
       ("block: print the server key type and fingerprint on failure")
Reported-by: John Snow <jsnow@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220318125304.66131-3-hreitz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
tests/qemu-iotests/207
tests/qemu-iotests/207.out