From 6df608ab6b23296b6bcd893491b9edc4e4ba7dcb Mon Sep 17 00:00:00 2001 From: Divyesh Date: Sun, 8 Mar 2026 01:53:26 +0530 Subject: [PATCH] tests: collect coverage from daemonized borg mount processes Fixes #9448. borg mount forks into a background daemon, so coverage was missing the process that actually handles the FUSE requests, leaving fuse.py and hlfuse.py at 0%. Enable coverage patches: patch = ["subprocess", "_exit"] This lets coverage follow spawned subprocesses and still record data for paths that terminate via os._exit(). --- pyproject.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 318dcbb67..59d9f5521 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -282,8 +282,6 @@ commands = [["bandit", "-r", "src/borg", "-c", "pyproject.toml"]] branch = true disable_warnings = ["module-not-measured", "no-ctracer"] patch = ["subprocess", "_exit"] -parallel = true -sigterm = true source = ["src/borg"] omit = [ "*/borg/__init__.py",