diff --git a/lldb/test/API/tools/lldb-vscode/coreFile/TestVSCode_coreFile.py b/lldb/test/API/tools/lldb-vscode/coreFile/TestVSCode_coreFile.py --- a/lldb/test/API/tools/lldb-vscode/coreFile/TestVSCode_coreFile.py +++ b/lldb/test/API/tools/lldb-vscode/coreFile/TestVSCode_coreFile.py @@ -17,7 +17,7 @@ @skipIfRemote @skipIfLLVMTargetMissing("X86") def test_core_file(self): - current_dir = os.path.dirname(os.path.realpath(__file__)) + current_dir = os.path.dirname(__file__) exe_file = os.path.join(current_dir, "linux-x86_64.out") core_file = os.path.join(current_dir, "linux-x86_64.core") @@ -44,7 +44,7 @@ @skipIfLLVMTargetMissing("X86") def test_core_file_source_mapping(self): ''' Test that sourceMap property is correctly applied when loading a core ''' - current_dir = os.path.dirname(os.path.realpath(__file__)) + current_dir = os.path.dirname(__file__) exe_file = os.path.join(current_dir, "linux-x86_64.out") core_file = os.path.join(current_dir, "linux-x86_64.core")