mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 14:32:56 +00:00
trivial: uefi: don't let user's environment fail UEFI/Dell test suite
Comment from https://github.com/fwupd/fwupd/issues/2553#issuecomment-728218741 makes it clear that test suite should ignore some of environment.
This commit is contained in:
parent
103ce59922
commit
5b3eb78d5b
@ -620,6 +620,10 @@ fu_plugin_startup (FuPlugin *plugin, GError **error)
|
||||
g_autofree gchar *nvram_total_str = NULL;
|
||||
g_autoptr(GError) error_local = NULL;
|
||||
|
||||
/* don't let user's environment influence test suite failures */
|
||||
if (g_getenv ("FWUPD_UEFI_TEST") != NULL)
|
||||
return TRUE;
|
||||
|
||||
/* some platforms have broken SMBIOS data */
|
||||
if (fu_plugin_has_custom_flag (plugin, "uefi-force-enable"))
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user