mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-07 14:18:33 +02:00
daemon: Fix self test config file location for newer automake
More sub-dirs. We should really find a better way to do that in the future.
This commit is contained in:
parent
d5ec9d4f29
commit
34caba2964
1 changed files with 1 additions and 1 deletions
|
|
@ -299,7 +299,7 @@ main (int argc, char **argv)
|
|||
if (g_file_test ("../etc/UPower.conf", G_FILE_TEST_EXISTS))
|
||||
g_setenv ("UPOWER_CONF_FILE_NAME", "../etc/UPower.conf", TRUE);
|
||||
else
|
||||
g_setenv ("UPOWER_CONF_FILE_NAME", "../../etc/UPower.conf", TRUE);
|
||||
g_setenv ("UPOWER_CONF_FILE_NAME", "../../../etc/UPower.conf", TRUE);
|
||||
|
||||
/* tests go here */
|
||||
g_test_add_func ("/power/backend", up_test_backend_func);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue