mirror of
https://git.proxmox.com/git/fwupd
synced 2025-04-28 15:18:32 +00:00
trivial: Fix the tests on s390x
This commit is contained in:
parent
f445181580
commit
14ef2d17c6
1
.gitignore
vendored
1
.gitignore
vendored
@ -29,7 +29,6 @@ plugins/acpi-facp/tests/
|
||||
plugins/ata/tests/
|
||||
plugins/dfu/tests/
|
||||
plugins/nvme/tests/
|
||||
plugins/synaptics-mst/tests/
|
||||
plugins/synaptics-prometheus/tests/
|
||||
plugins/tpm-eventlog/tests/
|
||||
plugins/uefi-dbx/tests/
|
||||
|
@ -203,6 +203,7 @@ main(int argc, char **argv)
|
||||
/* only critical and error are fatal */
|
||||
g_log_set_fatal_mask(NULL, G_LOG_LEVEL_ERROR | G_LOG_LEVEL_CRITICAL);
|
||||
testdatadir = g_test_build_filename(G_TEST_DIST, "tests", NULL);
|
||||
(void)g_setenv("FWUPD_SYSFSFWDIR", testdatadir, TRUE);
|
||||
(void)g_setenv("FWUPD_SYSFSFWATTRIBDIR", testdatadir, TRUE);
|
||||
|
||||
g_assert_cmpint(g_mkdir_with_parents("/tmp/fwupd-self-test/var/lib/fwupd", 0755), ==, 0);
|
||||
|
1
plugins/synaptics-mst/tests/dmi
Symbolic link
1
plugins/synaptics-mst/tests/dmi
Symbolic link
@ -0,0 +1 @@
|
||||
../../../libfwupdplugin/tests/dmi/
|
1
src/tests/dmi
Symbolic link
1
src/tests/dmi
Symbolic link
@ -0,0 +1 @@
|
||||
../../libfwupdplugin/tests/dmi/
|
Loading…
Reference in New Issue
Block a user