-
Committer:
Tarmac
-
Author(s):
Eleni Maria Stea
-
Date:
2013-10-11 10:51:15 UTC
-
mfrom:
(1127.1.1 development-branch)
-
Revision ID:
tarmac-20131011105115-q0tk8toxpdj4jsf7
Running the unit tests was causing an EPERM exception in open_vt because
mir was already the session leader and was trying to create a new session
in order to become the session leader again. With this change mir tries
to become the session leader when it's not already. (Related bug report:
https://bugs.launchpad.net/mir/+bug/1237837). Fixes: https://bugs.launchpad.net/bugs/1237837.
Approved by Alexandros Frantzis, Maarten Lankhorst, PS Jenkins bot.