fix: output list fixed
This commit is contained in:
parent
09f68ce80c
commit
90b69d86ea
|
@ -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}")
|
||||
|
|
|
@ -76,8 +76,6 @@ def runRetList(command, timeout=10):
|
|||
output,error = run(command, timeout)
|
||||
return output.splitlines()
|
||||
|
||||
|
||||
|
||||
#
|
||||
# file
|
||||
#
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue