From 347b7da91424a1dab7edb42dd70cd897ab3bfbd6 Mon Sep 17 00:00:00 2001 From: Millian Poquet Date: Mon, 19 Feb 2018 13:39:43 +0100 Subject: [PATCH] [tesh] cleanup: SIGKILL -> SIGTERM --- tools/tesh/tesh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tesh/tesh.py b/tools/tesh/tesh.py index a8d52eb44b..43fd9ffd45 100755 --- a/tools/tesh/tesh.py +++ b/tools/tesh/tesh.py @@ -304,7 +304,7 @@ class Cmd(object): (stdout_data, stderr_data) = proc.communicate("\n".join(self.input_pipe), self.timeout) except subprocess.TimeoutExpired: print("Test suite `"+FileReader().filename+"': NOK (<"+cmdName+"> timeout after "+str(self.timeout)+" sec)") - os.killpg(os.getpgid(proc.pid), signal.SIGKILL) + os.killpg(os.getpgid(proc.pid), signal.SIGTERM) tesh_exit(3) if self.output_display: -- 2.20.1