mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
TEMP: Sabotage shutdown on error
This attempts to cause the good boot to break, in the way that https://gitlab.gnome.org/GNOME/openqa-tests/-/issues/62 may occur.
This commit is contained in:
parent
2f938b3741
commit
31816e1bec
1 changed files with 2 additions and 0 deletions
|
|
@ -712,6 +712,8 @@ main (int argc, char **argv)
|
|||
{
|
||||
g_message ("Execution of main.js threw exception: %s", error->message);
|
||||
g_error_free (error);
|
||||
g_message ("Sleeping 100 seconds to sabotage startup. Attempt to reproduce https://gitlab.gnome.org/GNOME/openqa-tests/-/issues/62");
|
||||
g_usleep (100 * G_USEC_PER_SEC);
|
||||
/* We just exit() here, since in a development environment you'll get the
|
||||
* error in your shell output, and it's way better than a busted WM,
|
||||
* which typically manifests as a white screen.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue