Index: packages/Python/lldbsuite/test/functionalities/ubsan/basic/TestUbsanBasic.py =================================================================== --- packages/Python/lldbsuite/test/functionalities/ubsan/basic/TestUbsanBasic.py +++ packages/Python/lldbsuite/test/functionalities/ubsan/basic/TestUbsanBasic.py @@ -84,7 +84,7 @@ self.assertEqual(data["instrumentation_class"], "UndefinedBehaviorSanitizer") self.assertEqual(data["description"], "misaligned-pointer-use") - self.assertEqual(data["filename"], "main.c") + self.assertEqual(data["filename"].endswith("main.c"), True) self.assertEqual(data["line"], self.line_align) self.runCmd("continue")