diff options
author | Martin Pitt <martinpitt@gnome.org> | 2013-02-20 15:04:38 +0100 |
---|---|---|
committer | Martin Pitt <martinpitt@gnome.org> | 2013-02-20 15:04:38 +0100 |
commit | 161ae4d47f71177e43cc3b9710c98129773c9c65 (patch) | |
tree | 7745a6b57285ce5298b665b17cc99ef7f2c43922 | |
parent | 33dfc13c070497b0bf27307e8b17a4c048cde235 (diff) |
up-self-test.c: Drop usage of up_daemon_set_bus_type()
This is now gone since the previous commit.
-rw-r--r-- | src/up-self-test.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/up-self-test.c b/src/up-self-test.c index 419935c..d19734e 100644 --- a/src/up-self-test.c +++ b/src/up-self-test.c @@ -305,14 +305,6 @@ main (int argc, char **argv) else g_setenv ("UPOWER_CONF_FILE_NAME", "../../etc/UPower.conf", TRUE); - /* Test on system bus if possible, but fall back to session bus; this - * allows the test suite to work in restricted environments like - * package builds. */ - if (!g_file_test (DBUS_SYSTEM_SOCKET, G_FILE_TEST_EXISTS)) { - puts("No system D-BUS running, running on session D-BUS"); - up_daemon_set_bus_type (DBUS_BUS_SESSION); - } - /* tests go here */ g_test_add_func ("/power/backend", up_test_backend_func); g_test_add_func ("/power/device", up_test_device_func); |