trivial: Skip the efivar tests on Windows

This commit is contained in:
Richard Hughes 2021-04-30 15:22:21 +01:00
parent 7b7eb9e9b5
commit 29e04f926d

View File

@ -2390,6 +2390,11 @@ fu_efivar_func (void)
g_autoptr(GError) error = NULL;
g_autoptr(GPtrArray) names = NULL;
#ifndef __linux__
g_test_skip ("only works on Linux");
return;
#endif
/* check supported */
ret = fu_efivar_supported (&error);
g_assert_no_error (error);