]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blobdiff - tests/src/libsystem.c
Drop support for legacy XMir - this only existed in early development before the...
[sojka/lightdm.git] / tests / src / libsystem.c
index 734f52b2049f43d3c33ce66397328f3b97a148ae..c282b3ec08c4b42a7763da1e1a3cc694aeb144cf 100644 (file)
@@ -184,14 +184,6 @@ setresuid (uid_t ruid, uid_t uuid, uid_t suid)
 static gchar *
 redirect_path (const gchar *path)
 {
-    /* Hide Xmir for legacy tests */
-    if (g_str_has_suffix (path, "/Xmir"))
-    {
-        connect_status ();
-        if (g_key_file_get_boolean (config, "test-xmir", "hide", NULL))
-            return NULL;
-    }
-
     // Don't redirect if inside the running directory
     if (g_str_has_prefix (path, g_getenv ("LIGHTDM_TEST_ROOT")))
         return g_strdup (path);