diff options
Diffstat (limited to 'test/test-utils-glib.c')
-rw-r--r-- | test/test-utils-glib.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/test/test-utils-glib.c b/test/test-utils-glib.c index c9fb5c8a..286e7a54 100644 --- a/test/test-utils-glib.c +++ b/test/test-utils-glib.c @@ -109,17 +109,7 @@ spawn_dbus_daemon (const gchar *binary, const struct passwd *pwd = NULL; #endif - if (user == TEST_USER_ME) - { -#ifdef DBUS_UNIX - if (getuid () == 0) - { - g_message ("SKIP: this test is not designed to run as root"); - return NULL; - } -#endif - } - else + if (user != TEST_USER_ME) { #ifdef DBUS_UNIX if (getuid () != 0) |