diff --git a/lldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpNew.py b/lldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpNew.py index 9d2daec676987..103e86efc54d0 100644 --- a/lldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpNew.py +++ b/lldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpNew.py @@ -479,5 +479,6 @@ def test_minidump_sysroot(self): # Check that we loaded the module from the sysroot self.assertEqual(self.target.GetNumModules(), 1) module = self.target.GetModuleAtIndex(0) - spec = module.GetFileSpec() - self.assertEqual(spec.GetDirectory(), exe_dir) + spec_dir_norm = os.path.normcase(module.GetFileSpec().GetDirectory()) + exe_dir_norm = os.path.normcase(exe_dir) + self.assertEqual(spec_dir_norm, exe_dir_norm)