mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-05 19:33:35 +00:00
trivial: Fix swap self tests
This only works if the computer used to run the test also has /dev/nvme0n1p4 as encrypted swap...
This commit is contained in:
parent
eac6edd7c5
commit
d87edbcc51
@ -44,8 +44,6 @@ fu_linux_swap_plain_func (void)
|
||||
}
|
||||
g_assert_no_error (error);
|
||||
g_assert_nonnull (swap);
|
||||
g_assert_true (fu_linux_swap_get_enabled (swap));
|
||||
g_assert_false (fu_linux_swap_get_encrypted (swap));
|
||||
}
|
||||
|
||||
static void
|
||||
@ -64,8 +62,6 @@ fu_linux_swap_encrypted_func (void)
|
||||
}
|
||||
g_assert_no_error (error);
|
||||
g_assert_nonnull (swap);
|
||||
g_assert_true (fu_linux_swap_get_enabled (swap));
|
||||
g_assert_true (fu_linux_swap_get_encrypted (swap));
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user