commit | 6ad1761d2f1798db21497265ae2efaae8bdcb844 | [log] [tgz] |
---|---|---|
author | Jürg Billeter <j@bitron.ch> | Mon Sep 16 21:01:16 2019 +0200 |
committer | Jürg Billeter <j@bitron.ch> | Mon Sep 16 21:16:23 2019 +0200 |
tree | 62526daf82e0572062d17453c6415dc51ff5a868 | |
parent | 8418b56746412b988a069354296f7294be7ff304 [diff] |
tests/testutils/artifactshare.py: Add SIGTERM handler to subprocess pytest-cov 2.7 calls os._exit() in its SIGTERM handler, skipping cleanup, unless another SIGTERM handler was already registered. Add our own SIGTERM handler to the subprocess to ensure proper cleanup such as terminating buildbox-casd.