mirror of
https://github.com/borgbackup/borg.git
synced 2026-04-29 18:10:59 -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().
(cherry picked from commit 6df608ab6b)
This commit is contained in:
parent
c7fa503565
commit
5c42d34a1d
1 changed files with 0 additions and 2 deletions
|
|
@ -255,8 +255,6 @@ labels = ["lint"]
|
|||
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