From e612178e5914b6c6cb9ab947e5a433f9a498ca22 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sat, 3 Sep 2016 23:33:44 +0200 Subject: [PATCH] tesh: add a fucking \n at the end of file in mkfile command This missing char got smpi_replay mad (believing that there is only one trace file for all where there was another trace file on the second line, that went undetected because not properly terminated). I lost my evenning because of that stupid little \n. I'm not happy. --- tools/tesh/tesh.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/tesh/tesh.py b/tools/tesh/tesh.py index 1e67418eff..7f3aca4df6 100755 --- a/tools/tesh/tesh.py +++ b/tools/tesh/tesh.py @@ -222,6 +222,7 @@ class Cmd(object): if file is None: fatal_error("Unable to create file "+filename) file.write("\n".join(self.input_pipe)) + file.write("\n") file.close() def _cmd_cd(self, argline): -- 2.20.1