mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-04 00:40:58 +00:00
trivial: Fix regression from 9f94dc9
on Ubuntu Focal
This commit is contained in:
parent
2f3b2d7a86
commit
cb110b55f8
@ -893,7 +893,7 @@ fwupd_security_attr_func(void)
|
||||
g_assert_no_error(error);
|
||||
g_assert_true(ret);
|
||||
ret = fwupd_security_attr_from_json(attr2, json_parser_get_root(parser), &error);
|
||||
if (g_error_matches(error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED)) {
|
||||
if (g_error_matches(error, FWUPD_ERROR, FWUPD_ERROR_NOT_SUPPORTED)) {
|
||||
g_test_skip(error->message);
|
||||
return;
|
||||
}
|
||||
|
@ -3466,7 +3466,7 @@ fu_security_attr_func(gconstpointer user_data)
|
||||
g_assert_no_error(error);
|
||||
g_assert_true(ret);
|
||||
ret = fu_security_attrs_from_json(attrs2, json_parser_get_root(parser), &error);
|
||||
if (g_error_matches(error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED)) {
|
||||
if (g_error_matches(error, FWUPD_ERROR, FWUPD_ERROR_NOT_SUPPORTED)) {
|
||||
g_test_skip(error->message);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user