mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-10 09:21:44 -04:00
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().
This commit is contained in:
parent
00ab5b0f25
commit
6df608ab6b
1 changed files with 0 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue