diff --git a/bin/tests/system/conftest.py b/bin/tests/system/conftest.py index 5daf4f908f..d71a3351c0 100644 --- a/bin/tests/system/conftest.py +++ b/bin/tests/system/conftest.py @@ -394,7 +394,7 @@ def system_test_dir(request, system_test_name, expected_artifacts): ), f"Unexpected files found in test directory: {unexpected_files}" # Create a temporary directory with a copy of the original system test dir contents - system_test_root = Path(os.environ["srcdir"]) + system_test_root = Path(os.environ["srcdir"]).resolve() testdir = Path( tempfile.mkdtemp(prefix=f"{system_test_name}_tmp_", dir=system_test_root) )