diff --git a/tests/pytest/util/common.py b/tests/pytest/util/common.py index 1ec6d2cbb9..5827f0757f 100644 --- a/tests/pytest/util/common.py +++ b/tests/pytest/util/common.py @@ -840,7 +840,7 @@ class TDCom: if (platform.system().lower() == 'windows'): os.system("TASKKILL /F /IM %s.exe"%processorName) else: - os.system("unset LD_PRELOAD; sudo pkill %s " % processorName) + os.system("unset LD_PRELOAD; pkill %s " % processorName) def gen_tag_col_str(self, gen_type, data_type, count): """