autotest: augment PerfInfo test

This commit is contained in:
Peter Barker 2021-11-14 14:16:54 +11:00 committed by Andrew Tridgell
parent c2a00df5b2
commit 9a47a85c0d
1 changed files with 5 additions and 0 deletions

View File

@ -7511,6 +7511,11 @@ class AutoTestCopter(AutoTest):
if not lines[0].startswith("TasksV1"):
raise NotAchievedException("Expected TasksV1 as first line first not (%s)" % lines[0])
if not lines[1].startswith("fast_loop"):
raise NotAchievedException("Expected fast_loop first, not (%s)" % lines[1])
# last line is empty, so -2 here
if not lines[-2].startswith("AP_EFI::update"):
raise NotAchievedException("Expected EFI last not (%s)" % lines[-2])
def tests1a(self):
'''return list of all tests'''