mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-07 11:56:16 +00:00
trivial: Skip the efivar tests on Windows
This commit is contained in:
parent
7b7eb9e9b5
commit
29e04f926d
@ -2390,6 +2390,11 @@ fu_efivar_func (void)
|
|||||||
g_autoptr(GError) error = NULL;
|
g_autoptr(GError) error = NULL;
|
||||||
g_autoptr(GPtrArray) names = NULL;
|
g_autoptr(GPtrArray) names = NULL;
|
||||||
|
|
||||||
|
#ifndef __linux__
|
||||||
|
g_test_skip ("only works on Linux");
|
||||||
|
return;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* check supported */
|
/* check supported */
|
||||||
ret = fu_efivar_supported (&error);
|
ret = fu_efivar_supported (&error);
|
||||||
g_assert_no_error (error);
|
g_assert_no_error (error);
|
||||||
|
Loading…
Reference in New Issue
Block a user