tetst: test for checking return value

This commit is contained in:
chenhaoran 2024-08-14 14:39:24 +08:00
parent 73265490f0
commit 87f50f01e4
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ if __name__ == "__main__":
try:
stdout, stderr = command_executor.execute(cmd)
#if "error" in stderr:
# print(stderr)
print(stderr)
lines = stdout.split("\n")
if lines[-2].endswith("matches.") or lines[-2].endswith("match."):
match_num = int(lines[-2].split(" ")[0])