mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 21:48:28 +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_no_error (error);
|
||||||
g_assert_nonnull (swap);
|
g_assert_nonnull (swap);
|
||||||
g_assert_true (fu_linux_swap_get_enabled (swap));
|
|
||||||
g_assert_false (fu_linux_swap_get_encrypted (swap));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -64,8 +62,6 @@ fu_linux_swap_encrypted_func (void)
|
|||||||
}
|
}
|
||||||
g_assert_no_error (error);
|
g_assert_no_error (error);
|
||||||
g_assert_nonnull (swap);
|
g_assert_nonnull (swap);
|
||||||
g_assert_true (fu_linux_swap_get_enabled (swap));
|
|
||||||
g_assert_true (fu_linux_swap_get_encrypted (swap));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Loading…
Reference in New Issue
Block a user