commit | 94b8747d78dac64914e8307a6c3e89cf77015257 | [log] [tgz] |
---|---|---|
author | Gavin Howard <gavin@yzena.com> | Wed Sep 22 11:58:44 2021 -0600 |
committer | Gavin Howard <gavin@yzena.com> | Wed Sep 22 11:58:44 2021 -0600 |
tree | c4876b9ae10e75354760afb281a823e04aacb64c | |
parent | 9081d6cba5e0b41f9bc4787ff2399eb67cded559 [diff] |
Force kill children on FreeBSD in history tests This is yet another attempt. Signed-off-by: Gavin Howard <gavin@yzena.com>
diff --git a/tests/history.py b/tests/history.py index 47e4e5e..64a8775 100755 --- a/tests/history.py +++ b/tests/history.py
@@ -90,6 +90,12 @@ def wait(child): if child.isalive(): child.sendeof() + time.sleep(1) + if child.isalive(): + child.kill(signal.SIGTERM) + time.sleep(1) + if child.isalive(): + child.kill(signal.SIGKILL) child.wait()