GNOME Bugzilla – Bug 683725
Allow testing GDM login dialog from the session
Last modified: 2012-10-23 17:15:09 UTC
Check an environment variable, GDM_GREETER_TEST. If 1, LoginDialog will skip anything that fails outside a GDM session. It is therefore possible to test the GDM greeter without installing it system-wide, by attempting login as the already logged in user (uses the same code path as the unlock dialog).
Created attachment 223912 [details] [review] Allow testing GDM login dialog from the session
Hey, any chance this could be merged? It is uncomfortable to cherry-pick this to each and every branch...
Review of attachment 223912 [details] [review]: If it helps you, looks quite reasonable to me!
Review of attachment 223912 [details] [review]: I'd prefer the lack of testing against the "1". Just having the envvar set should be enough.
Too late, I just pushed it. Sorry.