trivial: Fix running the tests on devices with the TPM in v1.2 mode

This commit is contained in:
Richard Hughes 2019-08-27 20:03:53 +01:00
parent 0887b675c3
commit 758f3b5abd

View File

@ -65,7 +65,7 @@ fu_uefi_pcrs_2_0_func (void)
g_assert_true (ret);
pcr0s = fu_uefi_pcrs_get_checksums (pcrs, 0);
g_assert_nonnull (pcr0s);
g_assert_cmpint (pcr0s->len, >=, 2);
g_assert_cmpint (pcr0s->len, >=, 1);
pcrXs = fu_uefi_pcrs_get_checksums (pcrs, 999);
g_assert_nonnull (pcrXs);
g_assert_cmpint (pcrXs->len, ==, 0);