Handle termination properly

* Tell the manager to close the display before terminating;
* Log about quit request and process termination.
This commit is contained in:
Thibault Jouan
2015-04-15 12:26:24 +00:00
parent d3f1fe6d34
commit 1575a2d369
5 changed files with 48 additions and 3 deletions

View File

@@ -1,6 +1,13 @@
Feature: program termination
Scenario: terminates when requested to quit
Background:
Given uhwm is running
Scenario: terminates on quit request
When I tell uhwm to quit
Then uhwm must terminate successfully
Scenario: logs about termination
When I tell uhwm to quit
Then uhwm must terminate successfully
And the output must match /terminat/i