From: Millian Poquet Date: Mon, 19 Feb 2018 12:39:43 +0000 (+0100) Subject: [tesh] cleanup: SIGKILL -> SIGTERM X-Git-Tag: v3.19~181^2~2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/347b7da91424a1dab7edb42dd70cd897ab3bfbd6?ds=sidebyside [tesh] cleanup: SIGKILL -> SIGTERM --- 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: