From d87edbcc5184225e449b59168f26ad08cbb2664d Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 10 Nov 2020 19:55:28 +0000 Subject: [PATCH] trivial: Fix swap self tests This only works if the computer used to run the test also has /dev/nvme0n1p4 as encrypted swap... --- plugins/linux-swap/fu-self-test.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plugins/linux-swap/fu-self-test.c b/plugins/linux-swap/fu-self-test.c index 3d02805d8..0476c180c 100644 --- a/plugins/linux-swap/fu-self-test.c +++ b/plugins/linux-swap/fu-self-test.c @@ -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