summaryrefslogtreecommitdiff
path: root/tests/src/test-python-greeter
diff options
context:
space:
mode:
authorMichael Terry <michael.terry@canonical.com>2012-09-25 16:06:09 -0400
committerMichael Terry <michael.terry@canonical.com>2012-09-25 16:06:09 -0400
commitb8e14569a4d9f650bd69d295c0f55095d7eae795 (patch)
tree93642155390fba812763cd33cc4248ab74e467d2 /tests/src/test-python-greeter
parent14b819db08b80648088828d455553148d680bbd6 (diff)
downloadlightdm-b8e14569a4d9f650bd69d295c0f55095d7eae795.tar.gz
tests: be more aggressive about closing the test greeter
Diffstat (limited to 'tests/src/test-python-greeter')
-rwxr-xr-xtests/src/test-python-greeter2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/test-python-greeter b/tests/src/test-python-greeter
index cc1fe1be..7c78eedf 100755
--- a/tests/src/test-python-greeter
+++ b/tests/src/test-python-greeter
@@ -14,7 +14,7 @@ loop = GLib.MainLoop ()
def sigterm_cb (signum, frame):
sys.stderr.write ("sigterm\n")
status_notify ('GREETER %s TERMINATE SIGNAL=%d' % (os.getenv ('DISPLAY'), signum))
- loop.quit ();
+ sys.exit (0);
signal.signal (signal.SIGTERM, sigterm_cb)
status_socket = None