mirror of
https://git.proxmox.com/git/fwupd
synced 2025-11-02 22:47:00 +00:00
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:
parent
b5eddee5f6
commit
05efd7b960
@ -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"));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user