From d4109b9f7929a48cc7feda9e99196c3e1f01fee3 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mon, 6 Feb 2023 16:14:42 +0000 Subject: [PATCH] trivial: Fix Fedora CI when it cannot autostart udisks --- plugins/linux-swap/fu-self-test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/linux-swap/fu-self-test.c b/plugins/linux-swap/fu-self-test.c index ea6c6b177..d71bd9034 100644 --- a/plugins/linux-swap/fu-self-test.c +++ b/plugins/linux-swap/fu-self-test.c @@ -36,6 +36,7 @@ fu_linux_swap_plain_func(void) &error); if (g_error_matches(error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND) || g_error_matches(error, G_IO_ERROR, G_IO_ERROR_NOT_DIRECTORY) || + g_error_matches(error, G_DBUS_ERROR, G_DBUS_ERROR_SPAWN_EXEC_FAILED) || g_error_matches(error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT)) { g_test_skip(error->message); return; @@ -65,6 +66,7 @@ fu_linux_swap_encrypted_func(void) &error); if (g_error_matches(error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND) || g_error_matches(error, G_DBUS_ERROR, G_DBUS_ERROR_SERVICE_UNKNOWN) || + g_error_matches(error, G_DBUS_ERROR, G_DBUS_ERROR_SPAWN_EXEC_FAILED) || g_error_matches(error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT)) { g_test_skip(error->message); return;