diff --git a/tools/otci/otci/otci.py b/tools/otci/otci/otci.py index 91f5bf0c5..eaba35dc8 100644 --- a/tools/otci/otci/otci.py +++ b/tools/otci/otci/otci.py @@ -75,7 +75,7 @@ class OTCI(object): while duration > 0: output = self.__otcmd.wait(1) - if match_line(expect_line, output): + if any(match_line(line, expect_line) for line in output): success = True break