Commit 3ae26431 authored by Robert Schmidt's avatar Robert Schmidt

Do not require "Bye." to be in last line

parent e17575f5
...@@ -1048,10 +1048,7 @@ class RANManagement(): ...@@ -1048,10 +1048,7 @@ class RANManagement():
gnb_markers[k].append(line_cnt) gnb_markers[k].append(line_cnt)
# check whether e/gNB log finishes with "Bye." message # check whether e/gNB log finishes with "Bye." message
# Note that it is "=" not "|=" so not only is the regex showedByeMsg |= re.search(r'^Bye.\n', str(line), re.MULTILINE) is not None
# asking for EOF (\Z) but we also only retain the last
# line's result
showedByeMsg = re.search(r'^Bye.\n\Z', str(line), re.MULTILINE) is not None
enb_log_file.close() enb_log_file.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment