]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
Add exit module
authorZack Cerza <zack@redhat.com>
Mon, 10 Oct 2016 21:20:27 +0000 (15:20 -0600)
committerZack Cerza <zack@redhat.com>
Tue, 11 Oct 2016 20:43:34 +0000 (14:43 -0600)
commite365144c36ac80d009ccf6f6a9e7d109a3422015
tree3c417d1b325eefd9dd7f5c3e126eeb793dddcc07
parent1d3e5ed8c6409ae63bb4f4de21250428a60bd8ea
Add exit module

This module contains a helper to add functions to be run when a given
signal is received. These signal handlers ought to do as little as
possible to avoid interfering with the process shutting down.

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/exit.py [new file with mode: 0644]
teuthology/test/test_exit.py [new file with mode: 0644]