trivial: Don't assume a specific page size in the unit tests

This was found in the self tests on PPC64.

Fixes https://github.com/fwupd/fwupd/issues/2581
This commit is contained in:
Richard Hughes 2020-11-15 09:17:08 +00:00
parent b5eddee5f6
commit 05efd7b960

View File

@ -1850,7 +1850,7 @@ fu_efivar_func (void)
/* check we can get the space used */
total = fu_efivar_space_used (&error);
g_assert_no_error (error);
g_assert_cmpint (total, ==, 0x2000);
g_assert_cmpint (total, >=, 0x2000);
/* check existing keys */
g_assert_false (fu_efivar_exists (FU_EFIVAR_GUID_EFI_GLOBAL, "NotGoingToExist"));