From 51093d6ae1d415b8dfa47f11cb634a87bd97e8a9 Mon Sep 17 00:00:00 2001 From: David Gumberg Date: Thu, 30 Oct 2025 14:27:17 -0700 Subject: [PATCH] test: resolve symlinks in which result for capnp --- test/functional/interface_ipc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/interface_ipc.py b/test/functional/interface_ipc.py index abcc4d6b5d1..63bac7ad16d 100755 --- a/test/functional/interface_ipc.py +++ b/test/functional/interface_ipc.py @@ -27,7 +27,7 @@ class IPCInterfaceTest(BitcoinTestFramework): def load_capnp_modules(self): if capnp_bin := shutil.which("capnp"): # Add the system cap'nproto path so include/capnp/c++.capnp can be found. - capnp_dir = Path(capnp_bin).parent.parent / "include" + capnp_dir = Path(capnp_bin).resolve().parent.parent / "include" else: # If there is no system cap'nproto, the pycapnp module should have its own "bundled" # includes at this location. If pycapnp was installed with bundled capnp,