From 425df31cf9f70c4ff8ae691e1e671b9b3cd2e067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Sat, 7 Oct 2017 00:35:23 -0400 Subject: [PATCH] monitor-unit-tests: Check going headless -> headless https://bugzilla.gnome.org/show_bug.cgi?id=788607 --- src/tests/monitor-unit-tests.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/tests/monitor-unit-tests.c b/src/tests/monitor-unit-tests.c index 668565043..b2d18c48b 100644 --- a/src/tests/monitor-unit-tests.c +++ b/src/tests/monitor-unit-tests.c @@ -2631,6 +2631,13 @@ meta_test_monitor_no_outputs (void) emulate_hotplug (test_setup); check_monitor_configuration (&test_case); + + /* Also check that we handle going headless -> headless */ + test_setup = create_monitor_test_setup (&test_case, + MONITOR_TEST_FLAG_NO_STORED); + + emulate_hotplug (test_setup); + check_monitor_configuration (&test_case); } static void