mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 14:22:13 +00:00
trivial: Fix running the tests on devices with the TPM in v1.2 mode
This commit is contained in:
parent
0887b675c3
commit
758f3b5abd
@ -65,7 +65,7 @@ fu_uefi_pcrs_2_0_func (void)
|
|||||||
g_assert_true (ret);
|
g_assert_true (ret);
|
||||||
pcr0s = fu_uefi_pcrs_get_checksums (pcrs, 0);
|
pcr0s = fu_uefi_pcrs_get_checksums (pcrs, 0);
|
||||||
g_assert_nonnull (pcr0s);
|
g_assert_nonnull (pcr0s);
|
||||||
g_assert_cmpint (pcr0s->len, >=, 2);
|
g_assert_cmpint (pcr0s->len, >=, 1);
|
||||||
pcrXs = fu_uefi_pcrs_get_checksums (pcrs, 999);
|
pcrXs = fu_uefi_pcrs_get_checksums (pcrs, 999);
|
||||||
g_assert_nonnull (pcrXs);
|
g_assert_nonnull (pcrXs);
|
||||||
g_assert_cmpint (pcrXs->len, ==, 0);
|
g_assert_cmpint (pcrXs->len, ==, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user