test_ukify: propagate failure

Oops. This explains why the tests were "passing" in CI even
though a direct pytest invocation would fail.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2023-04-22 11:20:11 +02:00
parent a758f95c33
commit 041f536f9a

View file

@ -495,4 +495,4 @@ def test_pcr_signing2(kernel_initrd, tmpdir):
assert len(sig['sha1']) == 6 # six items for six phases paths
if __name__ == '__main__':
pytest.main([__file__, '-v'])
sys.exit(pytest.main([__file__, '-v']))