From 758f3b5abd162e5cff3d1797cb0cf8b099be10a5 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 27 Aug 2019 20:03:53 +0100 Subject: [PATCH] trivial: Fix running the tests on devices with the TPM in v1.2 mode --- plugins/uefi/fu-self-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/uefi/fu-self-test.c b/plugins/uefi/fu-self-test.c index f13f12592..4ebd50c7f 100644 --- a/plugins/uefi/fu-self-test.c +++ b/plugins/uefi/fu-self-test.c @@ -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);