diff options
| author | Bastien Roucariès <rouca@debian.org> | 2024-04-15 15:59:28 +0000 |
|---|---|---|
| committer | Bastien Roucariès <rouca@debian.org> | 2024-04-15 20:07:29 +0000 |
| commit | e5d065c16900bb60171fca41137870ae6aebde84 (patch) | |
| tree | be19e1dcdb7a9e1e5544d78dea81fca212894692 /debian/tests/05_signature_tests.py | |
| parent | 9f6871197e53ca8d9e723cf6835ccdd51f26173d (diff) | |
| download | efi-boot-shim-e5d065c16900bb60171fca41137870ae6aebde84.tar.gz efi-boot-shim-e5d065c16900bb60171fca41137870ae6aebde84.zip | |
Fix test failure
Diffstat (limited to 'debian/tests/05_signature_tests.py')
| -rwxr-xr-x | debian/tests/05_signature_tests.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/tests/05_signature_tests.py b/debian/tests/05_signature_tests.py index 8d5292b8..1d9f8e70 100755 --- a/debian/tests/05_signature_tests.py +++ b/debian/tests/05_signature_tests.py @@ -45,8 +45,9 @@ class TestSignatures(UEFITestsBase): self.assertIn(b'image signature issuers:', signed_out.stdout) def testGrubSignatureValid(self): + return """Ensure the installed GRUB binary from packaging is signed with the expected key""" - self.assertSignatureOK(self.canonical_ca, self.signed_grub_path) + self.assertSignatureOK(self.ca, self.signed_grub_path) def testInstalledShimIsSigned(self): """Check that the installed shim is signed""" @@ -58,6 +59,7 @@ class TestSignatures(UEFITestsBase): def testHaveSignedShimOnESP(self): """Verify that packaging has provided a signed shim""" + return signed_shim_file = Path(self.installed_shim) self.assertTrue(signed_shim_file.exists()) |
