diff --git a/tests/army/community/cmdline/fullopt.py b/tests/army/community/cmdline/fullopt.py index 29711c7e0a..dfaee22c2f 100644 --- a/tests/army/community/cmdline/fullopt.py +++ b/tests/army/community/cmdline/fullopt.py @@ -66,15 +66,15 @@ class TDTestCase(TBase): self.checkListNotEmpty(rets) # except input - etool.runBinFile("taosd", "-c") - etool.runBinFile("taosd", "-e") + etool.exeBinFile("taosd", "-c") + etool.exeBinFile("taosd", "-e") # stop taosd sc.dnodeStop(idx) # other - etool.runBinFile("taosd", f"-dm -c {cfg}") + etool.exeBinFile("taosd", f"-dm -c {cfg}") sc.dnodeStop(idx) - etool.runBinFile("taosd", "-a http://192.168.1.10") + etool.exeBinFile("taosd", "-a http://192.168.1.10") #exe etool.exeBinFile("taosd", f"-E abc -c {cfg}") diff --git a/tests/army/frame/eos.py b/tests/army/frame/eos.py index defbaf4975..bd84927c78 100644 --- a/tests/army/frame/eos.py +++ b/tests/army/frame/eos.py @@ -76,8 +76,6 @@ def runRetList(command, timeout=10): output,error = run(command, timeout) return output.splitlines() - - # # file # diff --git a/tests/army/frame/etool.py b/tests/army/frame/etool.py index 2c22095ba7..d57932b459 100644 --- a/tests/army/frame/etool.py +++ b/tests/army/frame/etool.py @@ -52,7 +52,7 @@ def runBinFile(fname, command): if frame.eos.isWin(): binFile += ".exe" - frame.eos.runRetList(f"{binFile} {command}") + return frame.eos.runRetList(f"{binFile} {command}") # exe build/bin file def exeBinFile(fname, command):