Index: packages/Python/lldbsuite/test/dosep.py =================================================================== --- packages/Python/lldbsuite/test/dosep.py +++ packages/Python/lldbsuite/test/dosep.py @@ -1688,6 +1688,7 @@ # move core files into session dir cores = find('core.*', test_subdir) + test_directory = os.path.dirname(os.path.realpath(__file__)) for core in cores: dst = core.replace(test_directory, "")[1:] dst = dst.replace(os.path.sep, "-")