mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
committed by
Daan De Meyer
parent
70516b026b
commit
e9984357ad
@@ -690,7 +690,9 @@ def test_inspect(kernel_initrd, tmp_path, capsys):
|
||||
def test_pcr_signing(kernel_initrd, tmp_path):
|
||||
if kernel_initrd is None:
|
||||
pytest.skip('linux+initrd not found')
|
||||
if systemd_measure() is None:
|
||||
try:
|
||||
systemd_measure()
|
||||
except ValueError:
|
||||
pytest.skip('systemd-measure not found')
|
||||
|
||||
ourdir = pathlib.Path(__file__).parent
|
||||
@@ -757,7 +759,9 @@ def test_pcr_signing(kernel_initrd, tmp_path):
|
||||
def test_pcr_signing2(kernel_initrd, tmp_path):
|
||||
if kernel_initrd is None:
|
||||
pytest.skip('linux+initrd not found')
|
||||
if systemd_measure() is None:
|
||||
try:
|
||||
systemd_measure()
|
||||
except ValueError:
|
||||
pytest.skip('systemd-measure not found')
|
||||
|
||||
ourdir = pathlib.Path(__file__).parent
|
||||
|
||||
Reference in New Issue
Block a user