fix: output list fixed
This commit is contained in:
parent
09f68ce80c
commit
90b69d86ea
|
@ -66,15 +66,15 @@ class TDTestCase(TBase):
|
||||||
self.checkListNotEmpty(rets)
|
self.checkListNotEmpty(rets)
|
||||||
|
|
||||||
# except input
|
# except input
|
||||||
etool.runBinFile("taosd", "-c")
|
etool.exeBinFile("taosd", "-c")
|
||||||
etool.runBinFile("taosd", "-e")
|
etool.exeBinFile("taosd", "-e")
|
||||||
|
|
||||||
# stop taosd
|
# stop taosd
|
||||||
sc.dnodeStop(idx)
|
sc.dnodeStop(idx)
|
||||||
# other
|
# other
|
||||||
etool.runBinFile("taosd", f"-dm -c {cfg}")
|
etool.exeBinFile("taosd", f"-dm -c {cfg}")
|
||||||
sc.dnodeStop(idx)
|
sc.dnodeStop(idx)
|
||||||
etool.runBinFile("taosd", "-a http://192.168.1.10")
|
etool.exeBinFile("taosd", "-a http://192.168.1.10")
|
||||||
|
|
||||||
#exe
|
#exe
|
||||||
etool.exeBinFile("taosd", f"-E abc -c {cfg}")
|
etool.exeBinFile("taosd", f"-E abc -c {cfg}")
|
||||||
|
|
|
@ -76,8 +76,6 @@ def runRetList(command, timeout=10):
|
||||||
output,error = run(command, timeout)
|
output,error = run(command, timeout)
|
||||||
return output.splitlines()
|
return output.splitlines()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# file
|
# file
|
||||||
#
|
#
|
||||||
|
|
|
@ -52,7 +52,7 @@ def runBinFile(fname, command):
|
||||||
if frame.eos.isWin():
|
if frame.eos.isWin():
|
||||||
binFile += ".exe"
|
binFile += ".exe"
|
||||||
|
|
||||||
frame.eos.runRetList(f"{binFile} {command}")
|
return frame.eos.runRetList(f"{binFile} {command}")
|
||||||
|
|
||||||
# exe build/bin file
|
# exe build/bin file
|
||||||
def exeBinFile(fname, command):
|
def exeBinFile(fname, command):
|
||||||
|
|
Loading…
Reference in New Issue