From 041f536f9a9dfbf8023db680f536f0080ad054c1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 22 Apr 2023 11:20:11 +0200 Subject: [PATCH] test_ukify: propagate failure Oops. This explains why the tests were "passing" in CI even though a direct pytest invocation would fail. --- src/ukify/test/test_ukify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ukify/test/test_ukify.py b/src/ukify/test/test_ukify.py index 3ffa8fe8438..1013f649bed 100755 --- a/src/ukify/test/test_ukify.py +++ b/src/ukify/test/test_ukify.py @@ -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'])) -- 2.47.3