Updated the expected matching strings.

llvm-svn: 113756
This commit is contained in:
Johnny Chen 2010-09-13 16:59:11 +00:00
parent 661f8069c7
commit 9440d1c008
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@ class OrderFileTestCase(TestBase):
# Test that the debug symbols have Function f3 before Function f1.
self.runCmd("image dump symtab a.out")
output = self.res.GetOutput()
mo_f3 = re.search("Function +.+f3", output)
mo_f1 = re.search("Function +.+f1", output)
mo_f3 = re.search("Code +.+f3", output)
mo_f1 = re.search("Code +.+f1", output)
# Match objects for f3 and f1 must exist and f3 must come before f1.
self.assertTrue(mo_f3 and mo_f1 and mo_f3.start() < mo_f1.start(),