From 25ea22e0b17268099de9dcd0b174d59ebbdaa30e Mon Sep 17 00:00:00 2001 From: haoranchen Date: Wed, 30 Oct 2024 14:24:59 +0800 Subject: [PATCH] Update tests/army/frame/common.py Co-authored-by: WANG Xu --- tests/army/frame/common.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/army/frame/common.py b/tests/army/frame/common.py index bad86c828f..a82bf4c94f 100644 --- a/tests/army/frame/common.py +++ b/tests/army/frame/common.py @@ -807,8 +807,9 @@ class TDCom: if (platform.system().lower() == 'windows'): os.system(f"TASKKILL /F /IM {processor_name}.exe") else: - tdLog.debug(f"unset LD_PRELOAD; sudo pkill -f -{signal} '{processor_name}' ") - os.system(f"unset LD_PRELOAD; sudo pkill -f -{signal} '{processor_name}' ") + command = f"unset LD_PRELOAD; sudo pkill -f -{signal} '{processor_name}'" + tdLog.debug(f"command: {command}") + os.system(command) def gen_tag_col_str(self, gen_type, data_type, count):