]> git.ipfire.org Git - thirdparty/systemd.git/commit
ukify: make the test happy with the latest OpenSSL
authorFrantisek Sumsal <frantisek@sumsal.cz>
Sat, 23 Dec 2023 11:20:03 +0000 (12:20 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Sat, 23 Dec 2023 11:32:31 +0000 (12:32 +0100)
commit338ed5bea4fcd0b5b1cdcfb96a789edf6251bbdd
treea6e3147716495b74710e10174e386460985da939
parent12b6b3cfd9d3e203b2f794c5587caa98ca949af6
ukify: make the test happy with the latest OpenSSL

Which dropped some whitespaces in the output:

$ openssl version
OpenSSL 3.2.0 23 Nov 2023 (Library: OpenSSL 3.2.0 23 Nov 2023)
$ openssl x509 -in cert.pem -text -noout | grep Issuer
        Issuer: C=AU, ST=Some-State, O=Internet Widgits Pty Ltd

$ openssl version
OpenSSL 3.0.9 30 May 2023 (Library: OpenSSL 3.0.9 30 May 2023)
$ openssl x509 -in cert.pem -text -noout | grep Issuer
        Issuer: C = XX, L = Default City, O = Default Company Ltd

Making test-ukify unhappy:

>       assert 'Issuer: CN = SecureBoot signing key on host' in out
E       AssertionError: assert 'Issuer: CN = SecureBoot signing key on host' in '<...snip...>Issuer: CN=SecureBoot signing key on host archlinux2\n...'
src/ukify/test/test_ukify.py