OSDN Git Service

tests: filter out TLS distinguished name in certificate checks
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 4 Aug 2021 18:03:30 +0000 (19:03 +0100)
committerHanna Reitz <hreitz@redhat.com>
Mon, 9 Aug 2021 15:32:43 +0000 (17:32 +0200)
commita6d2bb25cf945cd16f29a575055c6f1a1f9cf6c9
tree7191d4268c9a8c71b5e066f52f1b4cdb8b783016
parent50482fda98bd62e072c30b7ea73c985c4e9d9bbb
tests: filter out TLS distinguished name in certificate checks

The version of GNUTLS in Fedora 34 has changed the order in which encodes
fields when generating new TLS certificates. This in turn changes the
order seen when querying the distinguished name. This ultimately breaks
the expected output in the NBD TLS iotests. We don't need to be
comparing the exact distinguished name text for the purpose of the test
though, so it is fine to filter it out.

Reported-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20210804180330.3469683-1-berrange@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Tested-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
tests/qemu-iotests/233
tests/qemu-iotests/233.out
tests/qemu-iotests/common.filter